diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2023-03-03 14:19:55 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2023-03-07 08:28:03 -0500 |
| commit | c78138abd3ccbc80b259430a78dfb6c0f65c6f5c (patch) | |
| tree | 0abf9ec5db2047c4920e858f58a73a62b7ec3884 /thread_sync.rb | |
| parent | 638f68b2fe16e7c765ab9bf7a927b95ff187b3d3 (diff) | |
Add function rb_data_free
This commit adds a function rb_data_free used by obj_free and
rb_objspace_call_finalizer to free T_DATA objects. This change also
means that RUBY_TYPED_FREE_IMMEDIATELY objects can be freed immediately
in rb_objspace_call_finalizer rather than being created into a zombie.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7438
Diffstat (limited to 'thread_sync.rb')
0 files changed, 0 insertions, 0 deletions
