summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cont.c b/cont.c
index ad277bda1d..9a0593c21e 100644
--- a/cont.c
+++ b/cont.c
@@ -383,6 +383,7 @@ cont_init(rb_context_t *cont, rb_thread_t *th)
/* save thread context */
cont->saved_thread = *th;
cont->saved_thread.local_storage = 0;
+ cont->saved_thread.machine_stack_start = cont->saved_thread.machine_stack_end = 0;
}
static rb_context_t *