mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Clear out loaded packages in PackageManager.prototype.reset
This way, when the AtomEnvironment is reset, packages will have .load() called on them again, so their config schemas will be registered again.
This commit is contained in:
@@ -62,6 +62,7 @@ class PackageManager
|
||||
reset: ->
|
||||
@serviceHub.clear()
|
||||
@deactivatePackages()
|
||||
@loadedPackages = {}
|
||||
@packageStates = {}
|
||||
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user