Bug 538698 - crash [@nsCacheService::DoomEntry_Internal(nsCacheEntry*)] on shutdown, r=biesi
This commit is contained in:
Родитель
16e8ddcdd9
Коммит
b1e9ba2c55
|
@ -1494,6 +1494,11 @@ void
|
|||
nsCacheService::OnProfileShutdown(PRBool cleanse)
|
||||
{
|
||||
if (!gService) return;
|
||||
if (!gService->mInitialized) {
|
||||
// The cache service has been shut down, but someone is still holding
|
||||
// a reference to it. Ignore this call.
|
||||
return;
|
||||
}
|
||||
nsCacheServiceAutoLock lock;
|
||||
|
||||
gService->DoomActiveEntries();
|
||||
|
|
Загрузка…
Ссылка в новой задаче