Author: richard
Date: Wed Jan 14 01:15:34 2009
New Revision: 3812

URL: http://svn.slimdevices.com?rev=3812&root=Jive&view=rev
Log:
Bug: N/A
Description:
Fix isRunning() to return false after a "once" timer has completed.


Modified:
    7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Timer.lua

Modified: 7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Timer.lua
URL: 
http://svn.slimdevices.com/7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Timer.lua?rev=3812&root=Jive&r1=3811&r2=3812&view=diff
==============================================================================
--- 7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Timer.lua (original)
+++ 7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Timer.lua Wed Jan 14 
01:15:34 2009
@@ -180,6 +180,8 @@
                -- call back may modify the timer so update it first
                if not timer.once then
                        timer:_insertTimer(timer.expires + timer.interval)
+               else
+                       timer.expires = nil
                end
 
                local status, err = pcall(timer.callback)

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to