Bug 997286: bustage fix on a CLOSED TREE rs=dholbert

This commit is contained in:
Randell Jesup 2014-04-17 15:32:34 -04:00
parent 7164e62f23
commit 627f6cdcb0

View File

@ -37,7 +37,7 @@ class nsFoo : public nsISupports {
NS_IMPL_ISUPPORTS0(nsFoo)
class TestSuicide : public nsRunnable {
nsresult Run() {
NS_IMETHOD Run() {
// Runs first time on thread "Suicide", then dies on MainThread
if (!NS_IsMainThread()) {
mThread = do_GetCurrentThread();