 
     StacktraceView.registerIn(atom.workspace)
 
-    @acceptTrace = atom.on 'stacktrace:accept-trace', ({trace}) =>
+    subs.push atom.on 'stacktrace:accept-trace', ({trace}) =>
       for trace in Stacktrace.parse(trace)
         trace.register()
         atom.workspace.open trace.getUrl()

{StacktraceView} = require './stacktrace-view'
{NavigationView} = require './navigation-view'
{decorate, cleanup} = require './editor-decorator'

module.exports =


  deactivate: ->
    @navigationView.remove()

    sub.off() for sub in subs
