зеркало из https://github.com/mozilla/gecko-dev.git
17039, r=dougt. Releasing QI'd proxy object was causing a crash. this is a temp work around.
This commit is contained in:
Родитель
d64bd701d2
Коммит
25a47745c1
|
@ -234,8 +234,10 @@ nsProxyEventObject::Release(void)
|
|||
NS_DELETEXPCOM(this);
|
||||
return 0;
|
||||
}
|
||||
#if 0 // removed on dougt's suggestion
|
||||
else if(1 == mRefCnt)
|
||||
mRoot->Release(); // do NOT zero out the ptr (weak ref)
|
||||
#endif
|
||||
return mRefCnt;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче