mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
Delete the native view when destroying the FlutterView (#4356)
Fixes https://github.com/flutter/flutter/issues/12996
This commit is contained in:
@@ -319,6 +319,9 @@ public class FlutterView extends SurfaceView
|
||||
}
|
||||
|
||||
getHolder().removeCallback(mSurfaceCallback);
|
||||
|
||||
mNativeView.destroy();
|
||||
mNativeView = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user