diff --git a/src/atom-environment.js b/src/atom-environment.js index 60cbb198b..325bf8f39 100644 --- a/src/atom-environment.js +++ b/src/atom-environment.js @@ -813,7 +813,7 @@ class AtomEnvironment { }) if (closing) { - this.unloading = true; + this.unloading = true await this.packages.deactivatePackages() } return closing