fix iOS crash when closing the app with the SheetView open
This commit is contained in:
@@ -102,6 +102,8 @@ class SheetView: ExpoView, UISheetPresentationControllerDelegate {
|
||||
index: Int
|
||||
) {
|
||||
touchHandler?.detach(from: childComponentView)
|
||||
|
||||
childComponentView.removeFromSuperview()
|
||||
if self.innerView === childComponentView {
|
||||
self.innerView = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user