Parcourir la source

fix: WebProcessProxy crash

sunzhongliang il y a 4 ans
Parent
révision
d671c1f487
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5
    0
      ios/RNCWebViewManager.m

+ 5
- 0
ios/RNCWebViewManager.m Voir le fichier

@@ -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