[libbluray-devel] Cleanup GUIManager on unload
tourettes
git at videolan.org
Thu Apr 11 18:03:12 CEST 2013
libbluray | branch: master | tourettes <tourettes at team-mediaportal.com> | Thu Apr 11 18:24:18 2013 +0300| [7b6de899741cd18f0f9b57216586e770129e79ec] | committer: hpi1
Cleanup GUIManager on unload
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=7b6de899741cd18f0f9b57216586e770129e79ec
---
src/libbluray/bdj/java/org/videolan/GUIManager.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/libbluray/bdj/java/org/videolan/GUIManager.java b/src/libbluray/bdj/java/org/videolan/GUIManager.java
index ad687a7..8448a83 100644
--- a/src/libbluray/bdj/java/org/videolan/GUIManager.java
+++ b/src/libbluray/bdj/java/org/videolan/GUIManager.java
@@ -77,6 +77,11 @@ public class GUIManager extends BDRootWindow {
}
}
+ public void dispose() {
+ super.dispose();
+ instance = null;
+ }
+
private static GUIManager instance = null;
private static final long serialVersionUID = 8670041014494973439L;
}
More information about the libbluray-devel
mailing list