Allow XPCOM to be restarted. r+sr=darin with grudging consent from dougt. Bug 239819

git-svn-id: svn://10.0.0.236/trunk@156232 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bsmedberg%covad.net
2004-05-11 09:38:50 +00:00
parent 9c4c1d7e09
commit ff6cab48ca
6 changed files with 100 additions and 71 deletions

View File

@@ -437,6 +437,7 @@ nsThread::Shutdown()
nsrefcnt cnt;
NS_RELEASE2(gMainThread, cnt);
NS_WARN_IF_FALSE(cnt == 0, "Main thread being held past XPCOM shutdown.");
gMainThread = nsnull;
kIThreadSelfIndex = 0;
}