Delete the native view when destroying the FlutterView (#4356)

Fixes https://github.com/flutter/flutter/issues/12996
This commit is contained in:
Jason Simmons
2017-11-13 13:16:48 -08:00
committed by GitHub
parent 1f0c959189
commit bb55d65085
@@ -319,6 +319,9 @@ public class FlutterView extends SurfaceView
}
getHolder().removeCallback(mSurfaceCallback);
mNativeView.destroy();
mNativeView = null;
}
@Override