mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Ensure each rack request has its own dispatcher instance
This commit is contained in:
parent
40e9ba1e46
commit
b2ad3029cd
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ module ActionController
|
|||
|
||||
def initialize(output = $stdout, request = nil, response = nil)
|
||||
@output, @request, @response = output, request, response
|
||||
@app = @@middleware.build(lambda { |env| self._call(env) })
|
||||
@app = @@middleware.build(lambda { |env| self.dup._call(env) })
|
||||
end
|
||||
|
||||
def dispatch_unlocked
|
||||
|
|
Loading…
Reference in a new issue