Selaa lähdekoodia

fix: WebProcessProxy crash

sunzhongliang 4 vuotta sitten
vanhempi
commit
d671c1f487
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5
    0
      ios/RNCWebViewManager.m

+ 5
- 0
ios/RNCWebViewManager.m Näytä tiedosto

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