[libbluray-devel] Fix race in BDJAppProxy.notifyListeners()

hpi1 git at videolan.org
Thu Sep 11 11:05:19 CEST 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Sep  9 12:59:26 2014 +0300| [910217cd8907f1daf4b66b7a5900e85e5237e9e4] | committer: hpi1

Fix race in BDJAppProxy.notifyListeners()

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

 src/libbluray/bdj/java/org/videolan/BDJAppProxy.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/java/org/videolan/BDJAppProxy.java b/src/libbluray/bdj/java/org/videolan/BDJAppProxy.java
index 3f94545..5da21b6 100644
--- a/src/libbluray/bdj/java/org/videolan/BDJAppProxy.java
+++ b/src/libbluray/bdj/java/org/videolan/BDJAppProxy.java
@@ -169,7 +169,7 @@ public class BDJAppProxy implements DVBJProxy, Runnable {
                 (AppID)context.getXletProperty("org.dvb.application.appid"),
                 fromState, toState, this, hasFailed);
         for (int i = 0; i < list.size(); i++)
-            ((AppStateChangeEventListener)listeners.get(i)).stateChange(event);
+            ((AppStateChangeEventListener)list.get(i)).stateChange(event);
     }
 
     protected BDJXletContext getXletContext() {



More information about the libbluray-devel mailing list