       msgItem = document.createElement('div')
       msgItem.classList.add 'blame-tooltip'
 
-      @tooltips.add atom.tooltips.add item, title: msgItem
-
-      getCommit @editor.getPath(), hash.replace(/^[\^]/, ''), (msg) =>
-        avatar = gravatar.url(msg.email, {s: 80});
+      @disposables.add atom.tooltips.add item, title: msgItem
+
+      getCommit @editor.getPath(), hash.replace(/^[\^]/, ''), (msg) ->
+        avatar = gravatar.url(msg.email, { s: 80 })
         msgItem.innerHTML = """
           <div class="head">
             <img class="avatar" src="http:#{avatar}"/>

    if @visible
      @update()

      @tooltips ?= new CompositeDisposable

      @subscriptions ?= new CompositeDisposable
      @subscriptions.add @editor.onDidSave => @update()

      @gutter.show()

    else
      @gutter.hide()
      @removeAllMarkers()
      @subscriptions?.dispose()
      @subscriptions = null

  update: () ->


        """

  deactivate: ->
    @disposables?.dispose()

module.exports = BlameGutterView
