зеркало из https://github.com/mozilla/pjs.git
Fix bug 107766 "DeactivateEntry: bad cache entry state when quitting". The cache entry state is legitimate on shutdown. Change NS_WARNING to NS_ASSERTION that doesn't fire on shutdown. r=gagan, sr=darin.
This commit is contained in:
Родитель
8183e540fc
Коммит
343ee3836f
|
@ -1305,7 +1305,9 @@ nsCacheService::DeactivateEntry(nsCacheEntry * entry)
|
|||
return;
|
||||
}
|
||||
} else {
|
||||
NS_WARNING("DeactivateEntry: bad cache entry state\n");
|
||||
// if mCacheServiceLock == nsnull,
|
||||
// then we're shutting down and this state is okay.
|
||||
NS_ASSERTION(!mCacheServiceLock, "DeactivateEntry: bad cache entry state\n");
|
||||
}
|
||||
|
||||
device = entry->CacheDevice();
|
||||
|
|
Загрузка…
Ссылка в новой задаче