[libbluray-devel] Implement BDFramePeer.dispose()

Rik Smith git at videolan.org
Thu Apr 11 18:03:12 CEST 2013


libbluray | branch: master | Rik Smith <webmaster at rsmith.nl> | Thu Apr 11 18:53:33 2013 +0300| [f06750cc1683aa2b74c5d8702fa517b7333d1ab1] | committer: hpi1

Implement BDFramePeer.dispose()

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=f06750cc1683aa2b74c5d8702fa517b7333d1ab1
---

 src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java b/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java
index f329ca9..1d7b702 100644
--- a/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java
+++ b/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java
@@ -176,6 +176,11 @@ public class BDFramePeer extends BDComponentPeer implements FramePeer
         }
     }
 
+    public void dispose() {
+        super.dispose();
+        rootWindow = null;
+    }
+
     private BDRootWindow rootWindow;
     private Insets insets = new Insets(0, 0, 0, 0);
 



More information about the libbluray-devel mailing list