mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
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:
parent
ab48b42be3
commit
51cf5d0033
4
netwerk/cache/src/nsCacheService.cpp
vendored
4
netwerk/cache/src/nsCacheService.cpp
vendored
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user