aboutsummaryrefslogtreecommitdiffstats
path: root/eval_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_error.c b/eval_error.c
index 1e763046a7..ed2e43facc 100644
--- a/eval_error.c
+++ b/eval_error.c
@@ -324,6 +324,6 @@ error_handle(int ex)
unknown_longjmp_status(ex);
break;
}
- rb_threadptr_reset_raised(rb_ec_thread_ptr(ec));
+ rb_ec_reset_raised(ec);
return status;
}