зеркало из https://github.com/mozilla/pjs.git
Fix leak stats by calling NS_LOG_RELEASE for every release. Debug code only. r=dougt
This commit is contained in:
Родитель
2f42b1c263
Коммит
ffa0654b41
|
@ -265,10 +265,10 @@ nsProxyObject::Release(void)
|
|||
NS_PRECONDITION(0 != mRefCnt, "dup release");
|
||||
|
||||
nsrefcnt count = PR_AtomicDecrement((PRInt32 *)&mRefCnt);
|
||||
NS_LOG_RELEASE(this, count, "nsProxyObject");
|
||||
|
||||
if (count == 0)
|
||||
{
|
||||
NS_LOG_RELEASE(this, mRefCnt, "nsProxyObject");
|
||||
mRefCnt = 1; /* stabilize */
|
||||
|
||||
PRBool callDirectly;
|
||||
|
|
Загрузка…
Ссылка в новой задаче