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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user