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

Commit

Permalink
[iOS]fix crash of execute js when instance has destroied
Browse files Browse the repository at this point in the history
  • Loading branch information
jianhan-he committed May 20, 2019
1 parent f8ea2c4 commit 62873d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m
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 62873d4

Please sign in to comment.