Fix leak stats by calling NS_LOG_RELEASE for every release. Debug code only. r=dougt
git-svn-id: svn://10.0.0.236/trunk@77395 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user