Repository: incubator-weex Updated Branches: refs/heads/master fe6b1a603 -> e36379a5a
* [iOS] record sdk instance destroy state in case of destroy multi times Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/e36379a5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/e36379a5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/e36379a5 Branch: refs/heads/master Commit: e36379a5ac4004605ca2b41d10ca68467519b720 Parents: fe6b1a6 Author: acton393 <[email protected]> Authored: Thu Feb 8 11:43:25 2018 +0800 Committer: acton393 <[email protected]> Committed: Thu Feb 8 11:43:25 2018 +0800 ---------------------------------------------------------------------- ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e36379a5/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m ---------------------------------------------------------------------- diff --git a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m index 3043ca9..0ca0311 100644 --- a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m +++ b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m @@ -372,6 +372,7 @@ typedef enum : NSUInteger { if (_needDestroy) { [[WXSDKManager bridgeMgr] destroyInstance:self.instanceId]; + _needDestroy = NO; } if (_componentManager) {
