зеркало из https://github.com/mozilla/pjs.git
fixing major regression caused by my change to nsIObserverService
This commit is contained in:
Родитель
d1b5c1f437
Коммит
f3717893b5
|
@ -213,7 +213,7 @@ nsCacheProfilePrefObserver::Observe(nsISupports * subject,
|
|||
#endif
|
||||
|
||||
nsresult rv;
|
||||
if (nsCRT::strcmp(NS_XPCOM_SHUTDOWN_OBSERVER_ID, topic)) {
|
||||
if (!nsCRT::strcmp(NS_XPCOM_SHUTDOWN_OBSERVER_ID, topic)) {
|
||||
// xpcom going away, shutdown cache service
|
||||
if (nsCacheService::GlobalInstance())
|
||||
nsCacheService::GlobalInstance()->Shutdown();
|
||||
|
|
Загрузка…
Ссылка в новой задаче