Author: duncan
Date: Fri Sep 22 07:46:22 2006
New Revision: 8221

Modified:
   branches/rel-1-5/freevo/src/rc.py

Log:
[ 1563353 ] Slide Shows with Music Enabled causes crash
Patch from James Fiore applied.


Modified: branches/rel-1-5/freevo/src/rc.py
==============================================================================
--- branches/rel-1-5/freevo/src/rc.py   (original)
+++ branches/rel-1-5/freevo/src/rc.py   Fri Sep 22 07:46:22 2006
@@ -463,7 +463,8 @@
                 if not c[1]:
                     # remove if it is no repeat callback:
                     self.lock.acquire()
-                    self.callbacks.remove(c)
+                    if c in self.callbacks: 
+                        self.callbacks.remove(c)
                     self.lock.release()
                 else:
                     # reset counter for next run

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to