 
     # Depends on ui.grammar and commands bound to @editorElement, so have to come last
     @providerPanel = new ProviderPanel(this, showSearchOption: @provider.showSearchOption)
-
     @constructor.register(this)
-    @disposables.add new Disposable =>
-      @constructor.unregister(this)
 
   getPaneToOpen: ->
     basePane = @provider.getPane()

  destroy: ->
    return if @destroyed
    @destroyed = true
    @highlighter.destroy()
    @syncSubcriptions?.dispose()
    @disposables.dispose()

_ = require 'underscore-plus'
{Point, Range, CompositeDisposable, Emitter} = require 'atom'
{
  getNextAdjacentPaneForPane
  getPreviousAdjacentPaneForPane
