Bug 1461062: Follow-up: Fix more Windows file locking bustage. r=bustage
authorKris Maglione <maglione.k@gmail.com>
Wed, 16 May 2018 21:41:26 -0700
changeset 418598 fec5efcc044996a163c55e06127d1b6480d9fa21
parent 418597 6d96ce0138119a0d7ef38e8e660067aeedd68bd2
child 418599 34d13ae107cc912aee5847a70c8ad750166f9394
push id103346
push usermaglione.k@gmail.com
push dateThu, 17 May 2018 04:42:30 +0000
treeherdermozilla-inbound@fec5efcc0449 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1461062
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1461062: Follow-up: Fix more Windows file locking bustage. r=bustage MozReview-Commit-ID: LP7tRq7pSA1
toolkit/mozapps/extensions/internal/XPIProvider.jsm
--- a/toolkit/mozapps/extensions/internal/XPIProvider.jsm
+++ b/toolkit/mozapps/extensions/internal/XPIProvider.jsm
@@ -1590,16 +1590,17 @@ class BootstrapScope {
   _uninstall(reason, callUpdate, extraArgs) {
     if (this.started) {
       this.shutdown(reason, extraArgs);
     }
     if (!callUpdate) {
       this.callBootstrapMethod("uninstall", reason, extraArgs);
     }
     this.unloadBootstrapScope();
+    XPIInstall.flushJarCache(this.file);
     XPIInstall.flushChromeCaches();
   }
 
   /**
    * Calls the appropriate sequence of shutdown, uninstall, update,
    * startup, and install methods for updating the current scope's
    * add-on to the given new add-on, depending on the current state of
    * the scope.