From 25a47745c1d30ea79c663e2e9bfa630f8affbc45 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. --- xpcom/proxy/src/nsProxyEventObject.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xpcom/proxy/src/nsProxyEventObject.cpp b/xpcom/proxy/src/nsProxyEventObject.cpp index b982e7985dca..d32dc7716955 100644 --- a/xpcom/proxy/src/nsProxyEventObject.cpp +++ b/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; }