aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index d2b28a8f44..b074ecb0c7 100644
--- a/eval.c
+++ b/eval.c
@@ -5466,6 +5466,7 @@ rb_call0(klass, recv, id, oid, argc, argv, body, nosuper)
if ((++tick & 0xff) == 0) {
CHECK_INTS; /* better than nothing */
stack_check();
+ rb_gc_finalize_deferred();
}
PUSH_ITER(itr);
PUSH_FRAME();