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

Commit 2925df5

Browse files
committed
[iOS] WXCoreBridge install should run in main thread
1 parent 499745a commit 2925df5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ - (void)registerGlobalFunctions
144144
return [weakSelf invokeNative:instance tasks:tasks callback:callback];
145145
}];
146146

147-
[WXCoreBridge install];
148-
149147
[_jsBridge registerCallUpdateComponentData:^NSInteger(NSString *instanceId, NSString *componentId, NSString *jsonData) {
150148
if (_dataRenderHandler) {
151149
WXPerformBlockOnComponentThread(^{

0 commit comments

Comments
 (0)