From 5bd24d9e0581cf50dce575ba169bc18c1d7c530e Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Thu, 6 Apr 2017 16:38:01 -0600 Subject: [PATCH] Remove unnecessary subscriptions --- src/workspace.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/workspace.js b/src/workspace.js index e3356d521..8183002ea 100644 --- a/src/workspace.js +++ b/src/workspace.js @@ -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 }