Bug 959218 - Avoid race condition when shutting down nsDeleteDir thread. r=mnovotny

This commit is contained in:
Jim Chen 2014-01-30 16:43:00 -05:00
parent 954ca245d4
commit 152939bb42

View File

@ -102,7 +102,7 @@ nsDeleteDir::Shutdown(bool finishDeleting)
}
rv = gInstance->mCondVar.Wait();
thread->Shutdown();
nsShutdownThread::BlockingShutdown(thread);
}
}