mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Thread Safety: Ensure recognize_optimized is immediately written instead of lazily
This commit is contained in:
parent
c94ba8150a
commit
0f651aec4e
1 changed files with 1 additions and 7 deletions
|
@ -153,13 +153,7 @@ module ActionController
|
|||
|
||||
def clear_recognize_optimized!
|
||||
remove_recognize_optimized!
|
||||
|
||||
class << self
|
||||
def recognize_optimized(path, environment)
|
||||
write_recognize_optimized!
|
||||
recognize_optimized(path, environment)
|
||||
end
|
||||
end
|
||||
write_recognize_optimized!
|
||||
end
|
||||
|
||||
def remove_recognize_optimized!
|
||||
|
|
Loading…
Reference in a new issue