Browse Source

fix: WebProcessProxy crash

sunzhongliang 4 years ago
parent
commit
d671c1f487
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      ios/RNCWebViewManager.m

+ 5
- 0
ios/RNCWebViewManager.m View File

@@ -217,4 +217,9 @@ RCT_EXPORT_METHOD(startLoadWithResult:(BOOL)result lockIdentifier:(NSInteger)loc
217 217
   }
218 218
 }
219 219
 
220
+- (dispatch_queue_t)methodQueue
221
+{
222
+    return dispatch_get_main_queue();
223
+}
224
+
220 225
 @end