Re: Problems using trunk (1.9) XULRunner/JavaXPCOM

Michal Ceresna <[email protected]> Fri, 25 Jan 2008 00:02:56 +0100
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <200801250002.56917.michal.ceresna__13433.8927841329$1201215849$gmane$org@gmail.com>
On Wednesday 23 January 2008, Christopher Rued wrote:
Hello Chris,

> Which causes an assertion error:
>
> ###!!! ASSERTION: nsWindowWatcher not thread-safe:
> '_mOwningThread.GetThread() == PR_GetCurrentThread()', file
> c:/dev/xulrunner/mozilla/embedding/components/windowwatcher/src/nsWindowWat
>cher.cpp, line 325
>
> Am I not creating the proxy properly?  Any idea what's wrong?  Good
> documentation to read?
Shouldn't you create the proxy on the second thread instead 
of the main thread? I think this the problem.

best regards,
Michal