class ActionController::Live::Buffer
def close
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
def close synchronize do super @buf.push nil @cv.broadcast end end