merge
This commit is contained in:
parent
1c2744a3aa
commit
db61e54010
@ -19,6 +19,8 @@ module Rack
|
|||||||
def _call(env)
|
def _call(env)
|
||||||
result = @app.call(env)
|
result = @app.call(env)
|
||||||
|
|
||||||
|
result[2].close if result[2].respond_to?(:close)
|
||||||
|
|
||||||
EM.next_tick {
|
EM.next_tick {
|
||||||
env['async.callback'].call [ result[0], result[1], self ]
|
env['async.callback'].call [ result[0], result[1], self ]
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
module Rack
|
module Rack
|
||||||
class EMStream
|
class EMStream
|
||||||
VERSION = "0.1.1"
|
VERSION = "0.1.3"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user