Bug #16843 and #16832 where we were crashing when dismissing dialogs. this may not be the final

fix but in an earlier change to this file today, this class stopped addreffing an event queue member variable.
But the dtor still released a reference to the event queue that it didn't have!
The eventual fix may be to put the addref back in there but I need to talk to dougt about this.

this is real danm's fix. i'm the reviewer.


git-svn-id: svn://10.0.0.236/trunk@51253 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mscott%netscape.com
1999-10-20 08:35:36 +00:00
parent f98e5e2bc8
commit 2f8bc8e00f

View File

@@ -105,10 +105,7 @@ nsProxyObject::nsProxyObject(nsIEventQueue *destQueue, PRInt32 proxyType, const
}
nsProxyObject::~nsProxyObject()
{
if (mDestQueue)
NS_RELEASE(mDestQueue);
{
if(mRealObject)
NS_RELEASE(mRealObject);
}