summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 58305a76b..c36ce3166 100644
--- a/eval.c
+++ b/eval.c
@@ -8092,6 +8092,7 @@ rb_callcc(self)
struct tag *tag;
THREAD_ALLOC(th);
+ th->status = THREAD_KILLED;
th->thread = cont = Data_Wrap_Struct(rb_cCont, thread_mark,
thread_free, th);