mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
mark thread name string
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e2a930c73a
commit
768bc8b88e
1 changed files with 2 additions and 0 deletions
2
vm.c
2
vm.c
|
@ -2126,6 +2126,8 @@ rb_thread_mark(void *ptr)
|
|||
sizeof(th->machine.regs) / sizeof(VALUE));
|
||||
}
|
||||
|
||||
RUBY_MARK_UNLESS_NULL(th->name);
|
||||
|
||||
rb_vm_trace_mark_event_hooks(&th->event_hooks);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue