mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 665044 - lift CC GC outside of the CCRunner mutex. r=bent
This commit is contained in:
parent
7b148766d3
commit
4c9425df02
@ -3414,6 +3414,8 @@ public:
|
||||
{
|
||||
NS_ASSERTION(NS_IsMainThread(), "Wrong thread!");
|
||||
|
||||
mCollector->GCIfNeeded(PR_FALSE);
|
||||
|
||||
MutexAutoLock autoLock(mLock);
|
||||
|
||||
if (!mRunning)
|
||||
@ -3426,8 +3428,6 @@ public:
|
||||
NS_ASSERTION(!mListener, "Should have cleared this already!");
|
||||
mListener = aListener;
|
||||
|
||||
mCollector->GCIfNeeded(PR_FALSE);
|
||||
|
||||
mRequest.Notify();
|
||||
mReply.Wait();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user