You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2018/10/23 11:47:50 UTC
[incubator-weex] branch master updated: [iOS] Invalidate of
WXComponentManager should be invoked in component thread. (#1661)
This is an automated email from the ASF dual-hosted git repository.
cxfeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/master by this push:
new 56a18a2 [iOS] Invalidate of WXComponentManager should be invoked in component thread. (#1661)
56a18a2 is described below
commit 56a18a22e0b0edc28586e57f0eea3719a9b477ef
Author: wqyfavor <wq...@163.com>
AuthorDate: Tue Oct 23 19:47:46 2018 +0800
[iOS] Invalidate of WXComponentManager should be invoked in component thread. (#1661)
---
ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m | 3 ---
1 file changed, 3 deletions(-)
diff --git a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
index 99c3996..c422284 100644
--- a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
+++ b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
@@ -664,9 +664,6 @@ typedef enum : NSUInteger {
[WXPrerenderManager destroyTask:self.instanceId];
[[WXSDKManager bridgeMgr] destroyInstance:self.instanceId];
- if (_componentManager) {
- [_componentManager invalidate];
- }
__weak typeof(self) weakSelf = self;
WXPerformBlockOnComponentThread(^{
__strong typeof(self) strongSelf = weakSelf;