# File lib/directory_watcher.rb, line 520
  def stop
    return self unless running?

    @scanner.stop
    self
  ensure
    persist!
  end