# File lib/guard/interactor.rb, line 249
    def stop
      return if !@thread || ENV['GUARD_ENV'] == 'test'

      unless Thread.current == @thread
        ::Guard::UI.reset_line
        ::Guard::UI.debug 'Stop interactor'
        @thread.kill
      end

      restore_terminal_settings if stty_exists?
    end