mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 1174768 Cache should check if QuotaManager is shutting down before calling GetOrCreate. r=janv
This commit is contained in:
parent
103e06656c
commit
b6487f1ac4
2
dom/cache/Context.cpp
vendored
2
dom/cache/Context.cpp
vendored
@ -309,7 +309,7 @@ Context::QuotaInitRunnable::Run()
|
||||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
if (mCanceled) {
|
||||
if (mCanceled || QuotaManager::IsShuttingDown()) {
|
||||
resolver->Resolve(NS_ERROR_ABORT);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user