Commit f56f4e6e authored by 余玠's avatar 余玠

cherry pick:无需detach,避免在app且后台返回后surfaceUpdated因没有owner vc而创建surface失败

parent 1d542e4d
...@@ -266,7 +266,6 @@ static NSUInteger kInstanceCounter = 0; ...@@ -266,7 +266,6 @@ static NSUInteger kInstanceCounter = 0;
if (self == FLUTTER_VC) if (self == FLUTTER_VC)
{ {
[self surfaceUpdated:NO]; [self surfaceUpdated:NO];
[self detatchFlutterEngine];
} }
[super bridge_viewDidDisappear:animated]; [super bridge_viewDidDisappear:animated];
} }
......
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