     closeIcon = document.createElement('div')
     closeIcon.classList.add('close-icon')
     @appendChild(closeIcon)
+
+    @subscriptions = new CompositeDisposable()
 
     @handleEvents()
     @updateDataAttributes()

    @configSubscription = atom.config.observe 'tabs.showIcons', =>
      @updateIconVisibility()

    @vcsConfigSubscription = atom.config.observe 'tabs.enableVcsColoring', (isEnabled) =>
      if isEnabled and @path? then @setupVcsStatus() else @unsetVcsStatus()

  setupTooltip: ->

    @iconSubscription?.dispose()
    @mouseEnterSubscription?.dispose()
    @configSubscription?.dispose()
    @subscriptions?.dispose()
    @repoSubscriptions?.dispose()
    @destroyTooltip()
    @remove()

