 
   # Notify the browser project of the window's current project path
   watchProjectPath: ->
-    @subscribe @project.onDidChangePaths =>
+    @disposables.add @project.onDidChangePaths =>
       @constructor.updateLoadSetting('initialPaths', @project.getPaths())
 
   exit: (status) ->

        deprecate "The atom.syntax global is deprecated. Use atom.grammars instead."
        @grammars

    @subscribe @packages.onDidActivateInitialPackages => @watchThemes()

    Project = require './project'
    TextBuffer = require 'text-buffer'

      @emit 'uncaught-error', arguments...
      @emitter.emit 'did-throw-error', {message, url, line, column, originalError}

    @disposables?.dispose()
    @disposables = new CompositeDisposable

    @setBodyPlatformClass()

    @loadTime = null
