[fxruby-users] removeTimeout in a timeout handler

Ralph Shnelvar ralphs at dos32.com
Fri Sep 3 08:57:39 EDT 2010

I have
    timeout_ = @app.addTimeout(milliseconds, method_, :repeat => true)

My analysis shows that
does not seem to work inside of the method_.  In other words, you can't remove a repeating timeout inside a timeout.

Could someone confirm, please.

I have worked around this problem by schedule a chore to remove the timeout ... but that seems ugly.  Anyone have a better solution?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100903/965e4e91/attachment.html>

More information about the fxruby-users mailing list