Explorar el Código

Fix crash when reload with overlays presented (#5774)

Yogev Ben David hace 5 años
padre
commit
2fa17aaaca
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      lib/ios/RNNOverlayManager.m

+ 1
- 1
lib/ios/RNNOverlayManager.m Ver fichero

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