 
   destroy: ->
     @unsubscribe
+    @removeCoverageFile()
     for area in areas
       area.destroy()
 

    else
      @resetCoverage()

  runCoverage: =>
    return unless @coverageEnabled()
    
    tempDir = temp.mkdirSync()
    tempFile = tempDir + "/coverage.out"
    gopath = @dispatch.buildGoPath()
    editorView = atom.workspaceView.getActiveView()
    buffer = editorView?.getEditor()?.getBuffer()

spawn = require('child_process').spawn
temp = require('temp')
fs = require 'fs-plus'
{Subscriber, Emitter} = require 'emissary'
GocovAreaView = require './gocov/gocov-area-view'
GocovParser = require './gocov/gocov-parser'
