[libbluray-devel] Implement BDWindowGraphics.dispose()

hpi1 git at videolan.org
Fri Apr 26 22:41:33 CEST 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Apr 26 13:03:44 2013 +0300| [36391196cf9cd31ab7a8208141a8eba15f354f8e] | committer: hpi1

Implement BDWindowGraphics.dispose()

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

 src/libbluray/bdj/java/java/awt/BDWindowGraphics.java |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/libbluray/bdj/java/java/awt/BDWindowGraphics.java b/src/libbluray/bdj/java/java/awt/BDWindowGraphics.java
index 8a67cde..1efc50b 100644
--- a/src/libbluray/bdj/java/java/awt/BDWindowGraphics.java
+++ b/src/libbluray/bdj/java/java/awt/BDWindowGraphics.java
@@ -113,6 +113,11 @@ public class BDWindowGraphics extends BDGraphics {
         window.notifyChanged();
     }
 
+    public void dispose() {
+        super.dispose();
+        window = null;
+    }
+
     public boolean drawImageN(Image img,
         int dx, int dy, int dw, int dh,
         int sx, int sy, int sw, int sh,



More information about the libbluray-devel mailing list