Commit ff36623c authored by justin's avatar justin

防止空指针

parent b9826a29
......@@ -177,7 +177,10 @@ public class XFlutterTextureView extends TextureView implements RenderSurface {
}
flutterRenderer.stopRenderingToSurface();
if(renderSurface!=null){
renderSurface.release();
renderSurface = null;
}
}
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment