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:
waterson%netscape.com
1999-10-12 03:05:10 +00:00
parent 0a71bb415f
commit 30e53d03e9
47 changed files with 0 additions and 53 deletions

View File

@@ -73,7 +73,6 @@ nsParserFactory::nsParserFactory(const nsCID &aClass)
nsParserFactory::~nsParserFactory()
{
NS_ASSERTION(mRefCnt == 0, "non-zero refcnt at destruction");
nsHTMLEntities::ReleaseTable();
nsHTMLTags::ReleaseTable();
}

View File

@@ -199,7 +199,6 @@ nsTextConverterFactory::nsTextConverterFactory(const nsCID &aClass,
nsTextConverterFactory::~nsTextConverterFactory()
{
NS_ASSERTION(mRefCnt == 0, "non-zero refcnt at destruction");
}
NS_IMPL_ISUPPORTS(nsTextConverterFactory, NS_GET_IID(nsIFactory));