mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Revert "Should have cleared mrb->globals in mrb_gc_free_gv; fix #4618"
This reverts commit 3dc8d9d7b3.
This commit is contained in:
+1
-3
@@ -268,10 +268,8 @@ mrb_gc_mark_gv(mrb_state *mrb)
|
||||
void
|
||||
mrb_gc_free_gv(mrb_state *mrb)
|
||||
{
|
||||
if (mrb->globals) {
|
||||
if (mrb->globals)
|
||||
iv_free(mrb, mrb->globals);
|
||||
mrb->globals = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user