lib/rainbows/event_machine/response_pipe.rb in rainbows-2.0.1 vs lib/rainbows/event_machine/response_pipe.rb in rainbows-2.1.0
- old
+ new
@@ -20,11 +20,10 @@
return
end while true
end
def unbind
- @client.body = nil
- @alive ? @client.on_read('') : @client.quit
@body.close if @body.respond_to?(:close)
+ @client.next!
@io.close unless @io.closed?
end
end