17039, r=dougt. Releasing QI'd proxy object was causing a crash. this is a temp work around.

This commit is contained in:
valeski%netscape.com 1999-10-22 04:07:53 +00:00
Родитель d64bd701d2
Коммит 25a47745c1
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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;
}