summaryrefslogtreecommitdiff
path: root/include/ruby/thread_native.h
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-10-02 17:47:38 -0700
committerJohn Hawthorn <john@hawthorn.email>2025-10-03 10:30:14 -0700
commit8eaa9eb3eb287063f8e004ecf4d12225214cda42 (patch)
tree85226b3fb3669562ceb989f2a8c3ad900b921995 /include/ruby/thread_native.h
parent14cdd88970a2f1ec07bf97a5de50a47f4f6e7e4f (diff)
Clear fields on heap RStruct before allocating
Now that we no longer explicitly set the first three elements, we need to ensure the object is in a state safe for GC before we call struct_heap_alloc, which may GC.
Diffstat (limited to 'include/ruby/thread_native.h')
0 files changed, 0 insertions, 0 deletions