未验证 提交 bb55d650 编写于 作者: J Jason Simmons 提交者: GitHub

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

Fixes https://github.com/flutter/flutter/issues/12996
上级 1f0c9591
......@@ -319,6 +319,9 @@ public class FlutterView extends SurfaceView
}
getHolder().removeCallback(mSurfaceCallback);
mNativeView.destroy();
mNativeView = null;
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册