From 77339b5eec2d4f8d4169e01b3f368d794357341f Mon Sep 17 00:00:00 2001 From: "valeski%netscape.com" Date: Fri, 22 Oct 1999 04:07:53 +0000 Subject: [PATCH] 17039, r=dougt. Releasing QI'd proxy object was causing a crash. this is a temp work around. git-svn-id: svn://10.0.0.236/trunk@51502 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/proxy/src/nsProxyEventObject.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/xpcom/proxy/src/nsProxyEventObject.cpp b/mozilla/xpcom/proxy/src/nsProxyEventObject.cpp index b982e7985dc..d32dc771695 100644 --- a/mozilla/xpcom/proxy/src/nsProxyEventObject.cpp +++ b/mozilla/xpcom/proxy/src/nsProxyEventObject.cpp @@ -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) + mRoot->Release(); // do NOT zero out the ptr (weak ref) +#endif return mRefCnt; }