mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Explicitly close Mojo proxies during destruction of a FlutterView (#2646)
Partial fix for https://github.com/flutter/flutter/issues/2950
This commit is contained in:
parent
db5d105e1d
commit
c74c0bfb09
@ -206,6 +206,10 @@ public class FlutterView extends SurfaceView
|
||||
getHolder().removeCallback(mSurfaceCallback);
|
||||
nativeDetach(mNativePlatformView);
|
||||
mNativePlatformView = 0;
|
||||
|
||||
mSkyEngine.close();
|
||||
mDartServiceProvider.close();
|
||||
mFlutterAppMessages.close();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user