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

git-svn-id: svn://10.0.0.236/trunk@68471 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com 2000-05-06 00:05:19 +00:00
parent b38da009b4
commit d24292d0d4
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;

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;