Skip to content

Commit

Permalink
fix(ios): turbo runtime must release in js thread
Browse files Browse the repository at this point in the history
  • Loading branch information
ozonelmy authored and zoomchan-cxj committed Aug 23, 2022
1 parent 2fbb0d9 commit 5f96fae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/sdk/base/executors/HippyJSCExecutor.mm
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ - (void)invalidate {
_valid = NO;
self.pScope->WillExit();
self.pScope = nullptr;
_turboRuntime = nullptr;
_JSContext.name = @"HippyJSContext(delete)";
_JSContext = nil;
_JSGlobalContextRef = NULL;
Expand Down

0 comments on commit 5f96fae

Please sign in to comment.