Bug 65146. Fix deadlock potential in proxy code; remove unncessary locks from nsPipe2. r=darin,dougt; sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86858 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -296,10 +296,7 @@ nsProxyObject::Release(void)
|
||||
ProxyDestructorEventHandler,
|
||||
ProxyDestructorDestroyHandler);
|
||||
|
||||
// fire it off.
|
||||
mDestQueue->PostSynchronousEvent(event, nsnull);
|
||||
|
||||
PR_DELETE(event);
|
||||
mDestQueue->PostEvent(event);
|
||||
return 0;
|
||||
}
|
||||
return mRefCnt;
|
||||
@@ -540,5 +537,6 @@ static void* ProxyDestructorEventHandler(PLEvent *self)
|
||||
|
||||
static void ProxyDestructorDestroyHandler(PLEvent *self)
|
||||
{
|
||||
PR_DELETE(self);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user