On Jul 26, 2:59 am, Richard Crowley <[EMAIL PROTECTED]> wrote:
> background.prototype = {
>         run: function() {

>                 while (true) {
>                         this.callback.add(i++, 'foo');
>                         thread.sleep(1000);
>                 }

I'd suggest you add some try {} catch code around this.callback.add()
make sure it prints the output to some safe output place (fwiw stderr/
stdout tend to be fairly unsafe, use a file you create on this thread,
http://www.webwizardry.net/~timeless/console-logger.js has code to
output to a file...)

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

Reply via email to