You can stop animate loop: @a=animate do .... @a.stop if sth end
K On Thu, Dec 18, 2008 at 12:15 AM, e deleflie <[email protected]> wrote: > All, > > I'm launching a new thread to upload a file (via net:http) ... then > asynchronously updating the progress bar. > > I've noticed that all calls to debug (and any errors in the code > generally) don't get printed to the console (on OSX raisins). > > I'm wondering if this is a bug, or whether I should be attempting an > other way of doing it. I was thinking perhaps using the animate method > somehow (although perhaps that would be hacky). > > BTW ... can I break out of an animate loop? > > Etienne >
