mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Fix the description about the timing finalizers will be called
This commit is contained in:
parent
91485d7dc6
commit
b6625d38d8
1 changed files with 3 additions and 4 deletions
7
gc.c
7
gc.c
|
@ -13594,10 +13594,9 @@ rb_gcdebug_remove_stress_to_class(int argc, VALUE *argv, VALUE self)
|
|||
* traverse all living objects with an iterator.
|
||||
*
|
||||
* ObjectSpace also provides support for object finalizers, procs that will be
|
||||
* called when a specific object is about to be destroyed by garbage
|
||||
* collection. See the documentation for
|
||||
* <code>ObjectSpace.define_finalizer</code> for important information on
|
||||
* how to use this method correctly.
|
||||
* called after a specific object was destroyed by garbage collection. See
|
||||
* the documentation for +ObjectSpace.define_finalizer+ for important
|
||||
* information on how to use this method correctly.
|
||||
*
|
||||
* a = "A"
|
||||
* b = "B"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue