Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
git-svn-id: svn://10.0.0.236/trunk@50416 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -68,7 +68,6 @@ nsPluginFactory :: nsPluginFactory(const nsCID &aClass, nsIServiceManager* servi
|
||||
|
||||
nsPluginFactory :: ~nsPluginFactory()
|
||||
{
|
||||
NS_ASSERTION(mRefCnt == 0, "non-zero refcnt at destruction");
|
||||
}
|
||||
|
||||
nsresult nsPluginFactory :: QueryInterface(const nsIID &aIID,
|
||||
|
||||
@@ -68,7 +68,6 @@ nsPluginFactory :: nsPluginFactory(const nsCID &aClass, nsIServiceManager* servi
|
||||
|
||||
nsPluginFactory :: ~nsPluginFactory()
|
||||
{
|
||||
NS_ASSERTION(mRefCnt == 0, "non-zero refcnt at destruction");
|
||||
}
|
||||
|
||||
nsresult nsPluginFactory :: QueryInterface(const nsIID &aIID,
|
||||
|
||||
Reference in New Issue
Block a user