# File lib/directory_watcher/em_scanner.rb, line 87 def stop return unless running? EventMachine.cancel_timer @timer rescue nil @timer = nil @watchers.each_value {|w| w.stop_watching if w.active?} @watchers.clear notify end