aboutsummaryrefslogtreecommitdiffstats
path: root/cont.c
diff options
context:
space:
mode:
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cont.c b/cont.c
index 9b43480dd3..2656cbeb2c 100644
--- a/cont.c
+++ b/cont.c
@@ -512,6 +512,8 @@ cont_restore_thread(rb_context_t *cont)
th->protect_tag = sth->protect_tag;
th->errinfo = sth->errinfo;
th->first_proc = sth->first_proc;
+ th->root_lep = sth->root_lep;
+ th->root_svar = sth->root_svar;
}
#if FIBER_USE_NATIVE