* [iOS] mark js vm garbage collect when instance destroyed
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/d9edda1f Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/d9edda1f Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/d9edda1f Branch: refs/heads/master Commit: d9edda1fe01e715f43ec26bf1f2f72c4ab4d6a10 Parents: e9d435c Author: acton393 <zhangxing610...@gmail.com> Authored: Fri Dec 15 15:55:36 2017 +0800 Committer: acton393 <zhangxing610...@gmail.com> Committed: Wed Dec 20 17:53:12 2017 +0800 ---------------------------------------------------------------------- ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d9edda1f/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 4476524..5be22d5 100644 --- a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m +++ b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m @@ -358,7 +358,7 @@ typedef enum : NSUInteger { } else { // Fallback } - [WXBridgeContext mountContextEnvironment:_instanceJavaScriptContext]; + [WXBridgeContext mountContextEnvironment:self.instanceJavaScriptContext]; } - (void)refreshInstance:(id)data