summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2024-02-22 22:35:54 +1300
committerGitHub <noreply@github.com>2024-02-22 22:35:54 +1300
commit6a0b05f413931cf24c149c29cc317d2b9c623885 (patch)
treebe99200a6c26754ffbe12311003c102cbbc30e56 /thread.c
parentb7f5c8003639b86cea50389fac541e2565e7e694 (diff)
Remove `SAVE_ROOT_JMPBUF` as it no longer has any effect. (#10066)
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 5dd26543ff..1ef4849c22 100644
--- a/thread.c
+++ b/thread.c
@@ -664,7 +664,7 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start)
if ((state = EC_EXEC_TAG()) == TAG_NONE) {
EXEC_EVENT_HOOK(th->ec, RUBY_EVENT_THREAD_BEGIN, th->self, 0, 0, 0, Qundef);
- SAVE_ROOT_JMPBUF(th, result = thread_do_start(th));
+ result = thread_do_start(th);
}
if (!fiber_scheduler_closed) {