Przeglądaj źródła

Fix crash when reload with overlays presented (#5774)

Yogev Ben David 5 lat temu
rodzic
commit
2fa17aaaca
No account linked to committer's email address
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      lib/ios/RNNOverlayManager.m

+ 1
- 1
lib/ios/RNNOverlayManager.m Wyświetl plik

@@ -30,7 +30,7 @@
30 30
 }
31 31
 
32 32
 - (void)dismissAllOverlays {
33
-    for (RNNOverlayWindow* overlayWindow  in _overlayWindows) {
33
+    for (RNNOverlayWindow* overlayWindow  in [_overlayWindows reverseObjectEnumerator]) {
34 34
         [self detachOverlayWindow:overlayWindow];
35 35
     }
36 36
 }