       @project.set('paths', paths)
 
   provideProjects: ->
-    projects: new Projects()+    projects: new Projects()
+
+  deactivate: ->
+    @subscriptions.dispose()
  projectsListView: null

  activate: (state) ->
    atom.commands.add 'atom-workspace',
      'project-manager:list-projects': ->
        ProjectsListView ?= require './projects-list-view'
        projectsListView = new ProjectsListView()

{CompositeDisposable} = require 'atom'

Projects = null
Project = null
SaveDialog = null
