I'm looking for a way to stop all the runnin'scheduled tasks.
There is already a rought solution:
I can simply save all the Timer's references into an array or Set
(and put it inside a Singleton, or static class member) , and then
call .clean() an all the instances.
Looking for a better way, I suppose that this Timer's list should
already exist (somewhere). Is there any way to get an active Timer's
list?
This solution is far more elegant than the rought's one and this may
save me from changing the code mantained by other guys.
is it possible?
Thanks in advance
Regards
Fabiano
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment