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 ce078ca162..a96e733741 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -294,6 +294,7 @@ rb_threadptr_exec_event_hooks_orig(rb_trace_arg_t *trace_arg, int pop_p)
const int outer_state = th->state;
int state = 0;
th->state = 0;
+ th->errinfo = Qnil;
th->vm->trace_running++;
th->trace_arg = trace_arg;