Skip to content

Commit

Permalink
Destroy panel on terminal destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyramin committed Nov 21, 2015
1 parent ea09395 commit 7774322
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/view.coffee
Expand Up @@ -159,6 +159,9 @@ class TerminalPlusView extends View
if @panel.isVisible()
@hide()
@onTransitionEnd => @panel.destroy()
else
@panel.destroy()

if @statusIcon and @statusIcon.parentNode
@statusIcon.parentNode.removeChild(@statusIcon)

Expand Down

0 comments on commit 7774322

Please sign in to comment.