зеркало из https://github.com/github/ruby.git
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:
Родитель
8ddb4de0ac
Коммит
0dcb0fdfcd
|
@ -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)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче