Kaynağa Gözat

fix: WebProcessProxy crash

sunzhongliang 4 yıl önce
ebeveyn
işleme
d671c1f487
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5
    0
      ios/RNCWebViewManager.m

+ 5
- 0
ios/RNCWebViewManager.m Dosyayı Görüntüle

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