1
0
Fork 0
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:
Joshua Peek 2008-10-27 12:34:54 -05:00
parent c94ba8150a
commit 0f651aec4e

View file

@ -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!