mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
fix up r59776
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8e03791373
commit
b3907bb5dc
2
cont.c
2
cont.c
@ -1479,7 +1479,7 @@ fiber_store(rb_fiber_t *next_fib, rb_thread_t *th)
|
||||
cont_save_machine_stack(th, &fib->cont);
|
||||
if (ruby_setjmp(fib->cont.jmpbuf)) {
|
||||
/* restored */
|
||||
fib = th->fiber;
|
||||
fib = th->ec.fiber;
|
||||
if (fib->cont.argc == -1) rb_exc_raise(fib->cont.value);
|
||||
if (next_fib->cont.value == Qundef) {
|
||||
cont_restore_0(&next_fib->cont, &next_fib->cont.value);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user