diff options
author | Alan Wu <[email protected]> | 2024-06-14 03:05:38 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-06-14 00:05:38 -0700 |
commit | 0dcb0fdfcd48b63ae000c8216a1e7b1c508e0ef2 (patch) | |
tree | 74c22731730f8f0e966a3e13f333c832c0f0450c /tool/lib/test | |
parent | 8ddb4de0acedaa10525c3e8549746fc2fb10b002 (diff) |
Enable LeakChecker for RJIT previously disabled for MJIT (#10998)
RJIT doesn't spawn subprocesses so there should now be no need to
special case it.
Diffstat (limited to 'tool/lib/test')
-rw-r--r-- | tool/lib/test/unit.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tool/lib/test/unit.rb b/tool/lib/test/unit.rb index 2b0856b822..5e5b34f5b6 100644 --- a/tool/lib/test/unit.rb +++ b/tool/lib/test/unit.rb @@ -1761,9 +1761,7 @@ module Test puts if @verbose $stdout.flush - unless defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled? # compiler process is wrongly considered as leak - leakchecker.check("#{inst.class}\##{inst.__name__}") - end + leakchecker.check("#{inst.class}\##{inst.__name__}") _end_method(inst) |