Release _ongoingTouches when FlutterViewController dealloc (flutter/engine#11049)
This commit is contained in:
@@ -523,6 +523,7 @@ typedef enum UIAccessibilityContrast : NSInteger {
|
||||
- (void)dealloc {
|
||||
[_engine.get() notifyViewControllerDeallocated];
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||
[_ongoingTouches release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user