Reset GC.stress
to avoid slow coverage processing during process exit
This commit is contained in:
parent
994dadfbf4
commit
1c89b1ec60
Notes:
git
2025-05-01 05:08:47 +00:00
@ -114,6 +114,10 @@ pid = $$
|
||||
pwd = Dir.pwd
|
||||
|
||||
at_exit do
|
||||
# Some tests leave GC.stress enabled, causing slow coverage processing.
|
||||
# Reset it here to avoid performance issues.
|
||||
GC.stress = false
|
||||
|
||||
exit_exc = $!
|
||||
|
||||
Dir.chdir(pwd) do
|
||||
|
Loading…
x
Reference in New Issue
Block a user