     @_emitter.on 'did-destroy', callback
 
   lint: (wasTriggeredOnChange) ->
+    return unless @_status
     return unless @editor is atom.workspace.getActiveTextEditor()
     return unless @editor.getPath()
     return if @_lock(wasTriggeredOnChange)

    @_subscriptions.add(
      @editor.onDidStopChanging => @lint(true) if @linter.lintOnFly
    )

  getMessages: ->
    @_messages

class EditorLinter
  constructor: (@linter, @editor) ->
    @_messages = new Map # Consumed by LinterViews::render
    @_status = true
    @_inProgress = false
    @_inProgressFly = false

