Bug 535520 bustage fix.

This commit is contained in:
Justin Dolske 2010-06-14 16:00:34 -07:00
parent 8e4cda544d
commit 1285738f71

View File

@ -309,7 +309,8 @@ BrowserGlue.prototype = {
// profile shutdown handler (contains profile cleanup routines)
_onProfileShutdown: function BG__onProfileShutdown() {
#if defined(WINCE) && defined(MOZ_UPDATER)
#ifdef MOZ_UPDATER
#ifdef WINCE
// If there's a pending update, clear cache to free up disk space.
try {
let um = Cc["@mozilla.org/updates/update-manager;1"].
@ -320,6 +321,7 @@ BrowserGlue.prototype = {
cacheService.evictEntries(Ci.nsICache.STORE_ANYWHERE);
}
} catch (e) { }
#endif
#endif
this._shutdownPlaces();
this._sanitizer.onShutdown();