Everything is now working.  The fix: switching to XULRunner 1.9 (trunk) 
per the Songbird guys' recommendation.  Threading in Javascript is 
magical in 1.9.

Richard

James Newell wrote:
> 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

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to