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 103e06656c
commit b6487f1ac4

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;
}