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

* cont.c (cont_mark): mark original Thread object from saved_thread.

[ruby-dev:44567] [Bug #5386]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2011-10-05 16:47:33 +00:00
parent 0a5ac6a448
commit 257d0ac80c
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Thu Oct 6 01:44:51 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* cont.c (cont_mark): mark original Thread object from saved_thread.
[ruby-dev:44567] [Bug #5386]
Wed Oct 5 16:33:04 2011 NARUSE, Yui <naruse@ruby-lang.org>
* vm_insnhelper.c (vm_call_cfunc): remove useless hack.

1
cont.c
View file

@ -139,6 +139,7 @@ cont_mark(void *ptr)
rb_context_t *cont = ptr;
rb_gc_mark(cont->value);
rb_thread_mark(&cont->saved_thread);
rb_gc_mark(cont->saved_thread.self);
if (cont->vm_stack) {
#ifdef CAPTURE_JUST_VALID_VM_STACK