From 618bec281e158cae89ca77ccb0b797b3b36b76ef Mon Sep 17 00:00:00 2001 From: Nathanael Anderson Date: Wed, 21 Oct 2020 09:53:57 -0500 Subject: [PATCH] Fix crash at shutdown --- NativeScript/runtime/Runtime.mm | 2 -- 1 file changed, 2 deletions(-) diff --git a/NativeScript/runtime/Runtime.mm b/NativeScript/runtime/Runtime.mm index 3a5c354f..d34696a9 100644 --- a/NativeScript/runtime/Runtime.mm +++ b/NativeScript/runtime/Runtime.mm @@ -44,8 +44,6 @@ if (![NSThread isMainThread]) { Caches::Workers->Remove(this->workerId_); Caches::Remove(this->isolate_); - } else { - this->isolate_->Exit(); } Runtime::isolates_.erase(std::remove(Runtime::isolates_.begin(), Runtime::isolates_.end(), this->isolate_), Runtime::isolates_.end());