Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2461 from jianhan-he/master
Browse files Browse the repository at this point in the history
 [iOS]fix crash of execute js  when instance has destroied
  • Loading branch information
wqyfavor authored May 20, 2019
2 parents f8ea2c4 + 62873d4 commit 02dfc8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,9 @@ - (void)createInstance:(NSString *)instanceIdString
}
}
WXSDKInstance *sdkInstance = [WXSDKManager instanceForID:instanceIdString];
if (!sdkInstance) {
return;
}
[sdkInstance.apmInstance onStage:KEY_PAGE_STAGES_LOAD_BUNDLE_START];

//create a sendQueue bind to the current instance
Expand Down

0 comments on commit 02dfc8c

Please sign in to comment.