summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index fa0daaa732..033134cb38 100644
--- a/eval.c
+++ b/eval.c
@@ -9436,11 +9436,12 @@ rb_thread_start_0(fn, arg, th)
curr_thread = th;
th->result = (*fn)(arg, th);
}
+ th = th_save;
}
else if (TAG_DST()) {
+ th = th_save;
th->result = prot_tag->retval;
}
- th = th_save;
POP_TAG();
status = th->status;