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:
Max Brunsfeld
2015-12-07 16:49:55 -08:00
parent 5825fb51b5
commit ec759f1322

View File

@@ -62,6 +62,7 @@ class PackageManager
reset: ->
@serviceHub.clear()
@deactivatePackages()
@loadedPackages = {}
@packageStates = {}
###