Change failure to shut down memory cache cleanly into a warning, instead of an assertion

This commit is contained in:
fur%netscape.com 1999-12-08 03:29:21 +00:00
Родитель e7a4b6ae94
Коммит 82e896700b
1 изменённых файлов: 3 добавлений и 3 удалений

6
netwerk/cache/memcache/nsMemCache.cpp поставляемый
Просмотреть файл

@ -51,9 +51,9 @@ nsMemCache::~nsMemCache()
nsresult rv;
rv = RemoveAll();
NS_ASSERTION(NS_SUCCEEDED(rv) && (mNumEntries == 0),
"Failure to shut down memory cache. "
"Somewhere, someone is holding references to at least one cache record");
NS_WARN_IF_FALSE(NS_SUCCEEDED(rv) && (mNumEntries == 0),
"Failure to shut down memory cache cleanly. "
"Somewhere, someone is holding references to at least one cache record");
delete mHashTable;
}