Merge pull request #42881 from etiennebarrie/fix-current-attributes-test-leak
Remove leak when using CurrentAttributes in thread variables
This commit is contained in:
commit
4cc602c02f
@ -144,6 +144,7 @@ def clear_all # :nodoc:
|
||||
end
|
||||
|
||||
def _use_thread_variables=(value) # :nodoc:
|
||||
clear_all
|
||||
@@use_thread_variables = value
|
||||
end
|
||||
@@use_thread_variables = false
|
||||
|
Loading…
Reference in New Issue
Block a user