Commit 1f284d89 authored by ColdPaleLight's avatar ColdPaleLight

fix #625 : method 'dispose' was not called when page popped

parent 10cdfeb3
...@@ -263,11 +263,12 @@ static NSUInteger kInstanceCounter = 0; ...@@ -263,11 +263,12 @@ static NSUInteger kInstanceCounter = 0;
params:_params params:_params
uniqueId:self.uniqueIDString]; uniqueId:self.uniqueIDString];
//如果当前不可见vc和engine所持有的vc一致。在FlutterVC在混合栈中是最后一张页面,如tab中的页面 //如果当前不可见vc和engine所持有的vc一致。在FlutterVC在混合栈中是最后一张页面,如tab中的页面
if (self == FLUTTER_VC) // if (self == FLUTTER_VC)
{ // {
[self surfaceUpdated:NO]; // [self surfaceUpdated:NO];
} // }
[super bridge_viewDidDisappear:animated]; [super bridge_viewDidDisappear:animated];
[FLUTTER_APP resume];
} }
- (void)installSplashScreenViewIfNecessary { - (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