 
 
   initialize: (@packageManager) ->
+    @disposables = new CompositeDisposable()
     @packageViews = []
     @loadPackages()
 

fs = require 'fs-plus'
fuzzaldrin = require 'fuzzaldrin'
_ = require 'underscore-plus'
{$$, View, TextEditorView} = require 'atom'

AvailablePackageView = require './available-package-view'
ErrorView = require './error-view'

    @subscribe @packageManager, 'theme-installed', =>
      @populateThemeMenus()

    @disposables.add atom.themes.onDidReloadAll => @updateActiveThemes()
    @updateActiveThemes()

    @filterEditor.getEditor().onDidStopChanging => @matchPackages()
