 
     @typechecking?.destroy()
     @typechecking = null
+    
+    @subscriptions = new CompositeDisposable
+    @deactivatedSubscriptions()
 
 
 


    @subscriptions.add atom.commands.add 'atom-workspace', "ensime:go-to-definition", => @goToDefinitionOfCursor()

    # https://discuss.atom.io/t/ok-to-use-grammar-cson-for-just-file-assoc/17801/11
    Promise.resolve(
      atom.packages.isPackageLoaded('language-scala') && atom.packages.activatePackage('language-scala')

    @typechecking = new TypeCheckingFeature()

    initClient = =>
      @activatedSubscriptions()
      @client = createClient(portFile(), (msg) => @generalHandler(msg) )


