Skip to content
Snippets Groups Projects
Commit ec54269b authored by Thomas Guillem's avatar Thomas Guillem
Browse files

LibVLC/AWindow: release the surface

parent d4283f7c
No related branches found
No related tags found
No related merge requests found
......@@ -123,6 +123,8 @@ class AWindow implements IVLCVout {
}
public void release() {
if (AndroidUtil.isICSOrLater())
mSurface.release();
mSurface = null;
setNativeSurface(mId, null);
if (mSurfaceHolder != null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment