Skip to content

Commit

Permalink
potential fix for num 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ddavison committed Jun 20, 2014
1 parent cdea44c commit 1cfa4a6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lib/sublime-tabs.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,14 @@ module.exports =
@state

deactivate: ->
# tabs
@paneSubscription?.off()
tabBarView.remove() for tabBarView in @tabBarViews ? []

# tree view
SublimeTree.deactivate()
@treeView?.deactivate()
@treeView = null

# tabs
@paneSubscription?.off()
tabBarView.remove() for tabBarView in @tabBarViews ? []

# tree view
createView: ->
unless @treeView?
Expand Down

1 comment on commit 1cfa4a6

@ddavison
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix #8

Please sign in to comment.