mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Activate packages immediately if hook had already been triggered
This commit is contained in:
@@ -162,6 +162,8 @@ class Package
|
||||
@mainModule.activate?(@packageManager.getPackageState(@name) ? {})
|
||||
@mainActivated = true
|
||||
@activateServices()
|
||||
@activationCommandSubscriptions?.dispose()
|
||||
@activationHookSubscriptions?.dispose()
|
||||
catch error
|
||||
@handleError("Failed to activate the #{@name} package", error)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user