[libbluray-devel] BDRootWindow: drop reference to frame buffer in dispose()

hpi1 git at videolan.org
Fri Apr 25 14:42:08 CEST 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Apr 25 15:31:59 2014 +0300| [cc4c6bd2604e86d3406b1a08713676f4687e515b] | committer: hpi1

BDRootWindow: drop reference to frame buffer in dispose()

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

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

diff --git a/src/libbluray/bdj/java/java/awt/BDRootWindow.java b/src/libbluray/bdj/java/java/awt/BDRootWindow.java
index d489de1..8caf35b 100644
--- a/src/libbluray/bdj/java/java/awt/BDRootWindow.java
+++ b/src/libbluray/bdj/java/java/awt/BDRootWindow.java
@@ -168,6 +168,8 @@ public class BDRootWindow extends Frame {
         BDToolkit.setFocusedWindow(null);
 
         super.dispose();
+
+        backBuffer = null;
     }
 
     private int[] backBuffer = null;



More information about the libbluray-devel mailing list