Skip to content

Commit

Permalink
issue guard#487: remove unused _run_worker
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDKelley committed Oct 30, 2020
1 parent b8dfb0c commit 1c04ad5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/listen/adapter/darwin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,6 @@ def _process_event(dir, path)
_queue_change(:dir, dir, rel_path, recursive: true)
end

def _run_worker(worker)
Listen.logger.debug { "fsevent: running worker: #{worker.inspect}" }
worker.run
rescue
format_string = 'fsevent: running worker failed: %s:%s called from: %s'
_log_exception format_string, caller
end

def _stop
@worker_thread&.kill
super
Expand Down

0 comments on commit 1c04ad5

Please sign in to comment.