From: Paul G. <pa...@us...> - 2008-04-29 22:04:14
|
Update of /cvsroot/azureus/azureus2/org/gudy/azureus2/pluginsimpl/local/ui In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv20443/org/gudy/azureus2/pluginsimpl/local/ui Modified Files: UIManagerImpl.java Log Message: oops, forget to remove the synchronization around listener dispatch Index: UIManagerImpl.java =================================================================== RCS file: /cvsroot/azureus/azureus2/org/gudy/azureus2/pluginsimpl/local/ui/UIManagerImpl.java,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- UIManagerImpl.java 29 Apr 2008 21:12:37 -0000 1.48 +++ UIManagerImpl.java 29 Apr 2008 22:04:13 -0000 1.49 @@ -441,24 +441,17 @@ class_mon.exit(); } - - try{ - class_mon.enter(); - - for (int i=0;i<ui_event_history_copy.size();i++){ - - try{ - listener.eventOccurred((UIManagerEvent)ui_event_history_copy.get(i)); - - }catch( Throwable e ){ - - Debug.printStackTrace(e); - } - } - }finally{ - - class_mon.exit(); - } + + for (int i=0;i<ui_event_history_copy.size();i++){ + + try{ + listener.eventOccurred((UIManagerEvent)ui_event_history_copy.get(i)); + + }catch( Throwable e ){ + + Debug.printStackTrace(e); + } + } } public void |