Yes, I'm referring to the javascript code that creates the object. The object is new'd and a function is made on the xpcom object which starts a thread. So the thread in the xpcom object executes and the main thread returns back to the java script code. As long as the java script code does not exit, the callback can be executed. If the javascript code exits, I get the 'too much recursion' error. It sounds like you have your callback working to the same point that mine works.
dupes _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
