1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

cont.c: fix comment to follow field name change

saved_thread was renamed to saved_ec in r59831 [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2017-12-25 14:22:21 +00:00
parent 0af050993e
commit 65d3461e95

2
cont.c
View file

@ -528,7 +528,7 @@ cont_save_thread(rb_context_t *cont, rb_thread_t *th)
/* save thread context */
*sec = *th->ec;
/* saved_thread->machine.stack_end should be NULL */
/* saved_ec->machine.stack_end should be NULL */
/* because it may happen GC afterward */
sec->machine.stack_end = NULL;