Merge pull request #42881 from etiennebarrie/fix-current-attributes-test-leak

Remove leak when using CurrentAttributes in thread variables
This commit is contained in:
Jean Boussier 2021-07-27 12:25:40 +02:00 committed by GitHub
commit 4cc602c02f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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