class Honeybadger::Worker

def flush

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