aboutsummaryrefslogtreecommitdiffstats
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 084ea3edc6..01800a6016 100644
--- a/cont.c
+++ b/cont.c
@@ -1067,6 +1067,7 @@ fiber_init(VALUE fibval, VALUE proc)
th->cfp->ep = th->stack;
*th->cfp->ep = VM_ENVVAL_BLOCK_PTR(0);
th->cfp->self = Qnil;
+ th->cfp->klass = Qnil;
th->cfp->flag = 0;
th->cfp->iseq = 0;
th->cfp->proc = 0;