Remove EC argument from clean_hooks_check
This argument doesn't seem used anymore. Since we want to free these objects during VM destruction when RUBY_FREE_AT_EXIT is set they must work without an EC.
This avoids a use-after-free running RUBY_FREE_AT_EXIT=1 ./miniruby -e ''
RUBY_FREE_AT_EXIT=1 ./miniruby -e ''
Remove EC argument from clean_hooks_check
This argument doesn't seem used anymore. Since we want to free these
objects during VM destruction when RUBY_FREE_AT_EXIT is set they must
work without an EC.
This avoids a use-after-free running
RUBY_FREE_AT_EXIT=1 ./miniruby -e ''