Fixing bug 36308, document.close() didn't release the parser so subsequent document.open calls didn't properly clear the document/old parser.

This commit is contained in:
jst@netscape.com
2000-05-06 00:05:19 +00:00
parent efd2ffe76f
commit 5c859b845d
2 changed files with 2 additions and 0 deletions

View File

@@ -1890,6 +1890,7 @@ nsHTMLDocument::Close()
NS_ConvertASCIItoUCS2("text/html"), PR_FALSE, PR_TRUE);
mWriteLevel--;
mIsWriting = 0;
NS_RELEASE(mParser);
}
return NS_OK;