mirror of
https://github.com/atom/atom.git
synced 2026-02-06 04:34:55 -05:00
Remove unnecessary subscriptions
This commit is contained in:
@@ -70,7 +70,6 @@ module.exports = class Workspace extends Model {
|
||||
deserializerManager: this.deserializerManager,
|
||||
viewRegistry: this.viewRegistry
|
||||
})
|
||||
this.paneContainer.onDidDestroyPaneItem(this.didDestroyPaneItem)
|
||||
|
||||
this.defaultDirectorySearcher = new DefaultDirectorySearcher()
|
||||
this.consumeServices(this.packageManager)
|
||||
@@ -127,7 +126,6 @@ module.exports = class Workspace extends Model {
|
||||
didChangeActivePaneItem: this.didChangeActivePaneItemOnPaneContainer,
|
||||
didDestroyPaneItem: this.didDestroyPaneItem
|
||||
})
|
||||
dock.onDidDestroyPaneItem(this.didDestroyPaneItem)
|
||||
return dock
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user