mirror of
https://github.com/rubyjs/mini_racer
synced 2023-03-27 23:21:28 -04:00
drop rb_gc_force_recycle use
It's deprecated in Ruby 3.1, and is probably irrelevant compared to all the existing allocation noise running other Ruby code.
This commit is contained in:
parent
feb8dc4cbf
commit
8550bb33dc
1 changed files with 0 additions and 2 deletions
|
@ -1268,7 +1268,6 @@ gvl_ruby_callback(void* data) {
|
|||
args->GetIsolate()->TerminateExecution();
|
||||
if (length > 0) {
|
||||
rb_ary_clear(ruby_args);
|
||||
rb_gc_force_recycle(ruby_args);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
@ -1291,7 +1290,6 @@ gvl_ruby_callback(void* data) {
|
|||
|
||||
if (length > 0) {
|
||||
rb_ary_clear(ruby_args);
|
||||
rb_gc_force_recycle(ruby_args);
|
||||
}
|
||||
|
||||
if (IsolateData::Get(args->GetIsolate(), IsolateData::DO_TERMINATE)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue