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.
This commit is contained in:
Alan Wu 2024-06-14 03:05:38 -04:00 committed by GitHub
parent 8ddb4de0ac
commit 0dcb0fdfcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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