summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-10-15 19:30:31 -0400
committerPeter Zhu <peter@peterzhu.ca>2025-10-16 17:03:20 -0400
commit9a80258b23c76a40070668dbebab8dd6f0361b92 (patch)
tree48e45c81e931d610b48cbfac7385b0f30ea53597 /.github
parent3fa848460098d1e77919f5280ff3dfd7687e243b (diff)
Fix crash when freeing namespaces
remove_class_from_subclasses calls st_insert, which mallocs. Malloc is not allowed in GC. This commit replaces the st_insert with an st_update since we know that ns_id exists in the st_table. The following script reproduces the crash: require "tempfile" Tempfile.create do |file| ns = Namespace.new ns.require(file) end
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions