about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-26 18:49:28 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-26 18:49:28 -0700
commit495673b956c77d955682f92669885421f6bc3c80 (patch)
treece6bf14c4c6a96be2a49107acbe157a4b8b2a8f0
parent54076d9573080291fcad2dbf3cb996fdfb33745c (diff)
downloadrainbows-495673b956c77d955682f92669885421f6bc3c80.tar.gz
It shouldn't be needed, really, favor simpler code
here until proven otherwise.
-rw-r--r--lib/rainbows/event_machine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/event_machine.rb b/lib/rainbows/event_machine.rb
index 7009fce..4b93917 100644
--- a/lib/rainbows/event_machine.rb
+++ b/lib/rainbows/event_machine.rb
@@ -51,7 +51,7 @@ module Rainbows
           (@env[RACK_INPUT] = @input).rewind
           alive = @hp.keepalive?
           @env[REMOTE_ADDR] = @remote_addr
-          @env[ASYNC_CALLBACK] = @response_write ||= method(:response_write)
+          @env[ASYNC_CALLBACK] = method(:response_write)
 
           response = catch(:async) { G.app.call(@env.update(RACK_DEFAULTS)) }