lib/honeybadger/worker.rb
# Blocks until queue is processed up to this point in time.
Blocks until queue is processed up to this point in time.
Blocks until queue is processed up to this point in time .
def flush
      mutex.synchronize do
        if thread && thread.alive?
          queue.push(marker)
          marker.wait(mutex)
        end
      end
    end
def flush mutex . synchronize do if thread && thread . alive? queue . push ( marker ) marker . wait ( mutex ) end end end
Blocks until queue is processed up to this point in time.
Blocks until queue is processed up to this point in time .