Bug 1174768 Cache should check if QuotaManager is shutting down before calling GetOrCreate. r=janv

This commit is contained in:
Ben Kelly 2015-06-16 12:00:55 -07:00
parent 0d4d8b61db
commit 881724a6a0

View File

@ -309,7 +309,7 @@ Context::QuotaInitRunnable::Run()
{
MOZ_ASSERT(NS_IsMainThread());
if (mCanceled) {
if (mCanceled || QuotaManager::IsShuttingDown()) {
resolver->Resolve(NS_ERROR_ABORT);
break;
}