Commit 9d562896 authored by Luke's avatar Luke

修复flutter vc没有正确释放的bug

parent 196c7b05
......@@ -255,6 +255,10 @@ static NSUInteger kInstanceCounter = 0;
// [self surfaceUpdated:NO];
// }
[super bridge_viewDidDisappear:animated];
if (self.engine.viewController == self) {
[self detatchFlutterEngine];
}
}
- (void)installSplashScreenViewIfNecessary {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment