[libbluray-devel] Implement BDComponentPeer.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:50:51 2013 +0300| [b58c89278b35e726ade50859d35fb2fb517bac6b] | committer: hpi1

Implement BDComponentPeer.dispose()

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

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

diff --git a/src/libbluray/bdj/java-j2se/java/awt/peer/BDComponentPeer.java b/src/libbluray/bdj/java-j2se/java/awt/peer/BDComponentPeer.java
index 2902d21..b4b07fa 100644
--- a/src/libbluray/bdj/java-j2se/java/awt/peer/BDComponentPeer.java
+++ b/src/libbluray/bdj/java-j2se/java/awt/peer/BDComponentPeer.java
@@ -79,6 +79,8 @@ public abstract class BDComponentPeer implements ComponentPeer
     }
 
     public void dispose() {
+        component = null;
+        toolkit = null;
     }
 
     /* java 6 only */



More information about the libbluray-devel mailing list