This repository has been archived by the owner on Aug 26, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Register all global VALUES as mark objects
Previously it was possible for these objects to be garbage collected (the constants could be unassigned in Ruby) or moved as part of GC compaction (reproducible with GC.verify_compaction_references). This commit marks all the global variables in nokogumbo.c using rb_gc_register_mark_object to ensure that they can't be moved.
- Loading branch information