mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* cont.c (fiber_store): balance braces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f3a62db7a4
commit
4f731db7b7
1 changed files with 3 additions and 3 deletions
6
cont.c
6
cont.c
|
@ -1206,10 +1206,10 @@ fiber_store(rb_fiber_t *next_fib)
|
|||
|
||||
#if !FIBER_USE_NATIVE
|
||||
cont_save_machine_stack(th, &fib->cont);
|
||||
#endif
|
||||
|
||||
if (ruby_setjmp(fib->cont.jmpbuf)) {
|
||||
#else /* FIBER_USE_NATIVE */
|
||||
{
|
||||
if (FIBER_USE_NATIVE || ruby_setjmp(fib->cont.jmpbuf)) {
|
||||
#if FIBER_USE_NATIVE
|
||||
fiber_setcontext(next_fib, fib);
|
||||
#ifndef _WIN32
|
||||
if (terminated_machine_stack.ptr) {
|
||||
|
|
Loading…
Reference in a new issue