mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 535520 bustage fix.
This commit is contained in:
parent
8e4cda544d
commit
1285738f71
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user