Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check return value of ObjectSpace.define_finalizer
ObjectSpace.define_finalizer returns an array of `[0, finalizer]`. When the finalizer is not defined, it returns the finalizer that was passed in. Otherwise, it returns the originally defined finalizer.
- Loading branch information