[libbluray-devel] Reduce false error logging
hpi1
git at videolan.org
Tue Dec 10 10:24:49 CET 2013
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Dec 10 11:10:35 2013 +0200| [5a2603a82339e78874e67c0ed2d35d1fe99e46f1] | committer: hpi1
Reduce false error logging
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=5a2603a82339e78874e67c0ed2d35d1fe99e46f1
---
src/libbluray/bdj/java/org/havi/ui/HSceneFactory.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/libbluray/bdj/java/org/havi/ui/HSceneFactory.java b/src/libbluray/bdj/java/org/havi/ui/HSceneFactory.java
index b6e9fb9..1a361e0 100644
--- a/src/libbluray/bdj/java/org/havi/ui/HSceneFactory.java
+++ b/src/libbluray/bdj/java/org/havi/ui/HSceneFactory.java
@@ -116,7 +116,9 @@ public class HSceneFactory extends Object {
public void dispose() {
synchronized(HSceneFactory.class) {
- dispose(defaultHScene);
+ if (defaultHScene != null) {
+ dispose(defaultHScene);
+ }
}
}
More information about the libbluray-devel
mailing list