提交 7d729f66 编写于 作者: J Jason Simmons 提交者: GitHub

Fix leak of PlatformViewAndroid when FlutterView is destroyed (#2969)

上级 dcd38745
......@@ -378,7 +378,7 @@ PlatformViewAndroid::PlatformViewAndroid()
PlatformViewAndroid::~PlatformViewAndroid() = default;
void PlatformViewAndroid::Detach(JNIEnv* env, jobject obj) {
// Note: |this| has been destroyed at this point.
delete this;
}
void PlatformViewAndroid::SurfaceCreated(JNIEnv* env,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册