mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1174768 Cache should check if QuotaManager is shutting down before calling GetOrCreate. r=janv
This commit is contained in:
parent
0d4d8b61db
commit
881724a6a0
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