       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}"/>

        """

  deactivate: ->
    @subscriptions?.dispose()
    @tooltips?.dispose()

module.exports = BlameGutterView

  removeAllMarkers: ->
    marker.destroy() for marker in @markers
    @markers = []

  resizeStarted: (e) =>
    document.addEventListener 'mousemove', @resizeMove
