On Jul 27, 4:42 am, Christian Biesinger <[EMAIL PROTECTED]> wrote: > Richard Crowley wrote: > > thread.sleep(1000); > > What if you add a try..catch around this call, i.e. ignore any > exceptions that it may throw?
Hi, I had similar problems with threads crashing and causing other problems (http://groups.google.com.au/group/mozilla.dev.tech.xpcom/ browse_thread/thread/fa42b4ca9a302b7c/05923748c4f491eb? hl=en#05923748c4f491eb)... The work around I successfully used was Neil Mix's pure JavaScript method of threading (http://www.neilmix.com/2007/02/07/threading-in- javascript-17/). Hope this helps, James _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
