class ActionController::Live::Buffer

def close

See also #abort.

uses this to notify us that it's finished supplying content.
Write a 'close' event to the buffer; the producer/writing thread
def close
  synchronize do
    super
    @buf.push nil
    @cv.broadcast
  end
end