aboutsummaryrefslogtreecommitdiffstats
path: root/vm_trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_trace.c b/vm_trace.c
index 78113e2168..d0bcc3a498 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -1415,6 +1415,7 @@ rb_postponed_job_register_one(unsigned int flags, rb_postponed_job_func_t func,
if (pjob->func == func) {
return 2;
}
+ pjob = pjob->next;
}
return rb_postponed_job_register(flags, func, data);