Skip to content

Commit

Permalink
[DOC] Fix the description about the timing finalizers will be called
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed May 3, 2024
1 parent 91485d7 commit b6625d3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b6625d3

Please sign in to comment.