If the function that Timer.once() starts takes longer than the intervall
it is kicked off multiple times.
Problem is, that the Timer-object gets disposed only after the function
was called.
As I don't know whether it is allowed to dispose a Timer while it fires an
event, this can be solved like the following:
---- qx.event.Timer.once(), around line 100 --------
timer.addListener("interval", function(e)
{
timer.stop();
func.call(obj, e);
timer.dispose();
obj = null;
},
obj);
-----------
0.7.x disposes the Timer before calling the function so just with
code-inspection I think it is OK there ...
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel