mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Reset service-hub in AtomEnvironment::reset()
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
"scrollbar-style": "^3.2",
|
||||
"season": "^5.3",
|
||||
"semver": "^4.3.3",
|
||||
"service-hub": "^0.6.2",
|
||||
"service-hub": "^0.7.0",
|
||||
"source-map-support": "^0.3.2",
|
||||
"stacktrace-parser": "0.1.1",
|
||||
"temp": "0.8.1",
|
||||
|
||||
@@ -74,7 +74,6 @@ beforeEach ->
|
||||
documentTitle = null
|
||||
|
||||
projectPath = path.join(@specDirectory, 'fixtures')
|
||||
atom.packages.serviceHub = new ServiceHub
|
||||
atom.project = new Project({notificationManager: atom.notifications, packageManager: atom.packages, config: atom.config, confirm: atom.confirm})
|
||||
atom.project.setPaths([projectPath])
|
||||
atom.workspace = new Workspace({
|
||||
|
||||
@@ -253,6 +253,8 @@ class AtomEnvironment extends Model
|
||||
|
||||
@contextMenu.clear()
|
||||
|
||||
@packages.serviceHub.clear()
|
||||
|
||||
###
|
||||
Section: Event Subscription
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user