   deactivate: ->
     @_panel.removeDecorations()
     @_panelWorkspace.destroy()
-    @removeBubble()
+    @_removeBubble()
+
+  _removeBubble: ->
+    return unless @_bubble
+    @_bubble.destroy()
+    @_bubble = null
 
   _renderBubble: (message)->
     bubble = document.createElement 'div'

        item: @_renderBubble(message)
      })
      break

  removeBubble: ->
    return unless @_bubble
    @_bubble.destroy()
    @_bubble = null

  # consumed in views/bottom-tab-{file, project}
  changeTab: (Tab)->

  _renderPanel: ->
    @_panel.innerHTML = ''
    @_removeDecorations()
    @_removeBubble()
    if not @_messages.length
      return @setPanelVisibility(false)
    @setPanelVisibility(true)
