fix iOS crash when closing the app with the SheetView open

This commit is contained in:
Oleksii Bulenok
2026-06-25 15:04:52 +02:00
parent 33c2a94412
commit d2c223dc66
+2
View File
@@ -102,6 +102,8 @@ class SheetView: ExpoView, UISheetPresentationControllerDelegate {
index: Int index: Int
) { ) {
touchHandler?.detach(from: childComponentView) touchHandler?.detach(from: childComponentView)
childComponentView.removeFromSuperview()
if self.innerView === childComponentView { if self.innerView === childComponentView {
self.innerView = nil self.innerView = nil
} }