Method: Redwood::Index#stop_sync_worker

Defined in:
lib/sup/index.rb

#stop_sync_workerObject



552
553
554
555
556
557
# File 'lib/sup/index.rb', line 552

def stop_sync_worker
  return unless worker = @sync_worker
  @sync_worker = nil
  @sync_queue << :die
  worker.join
end