Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 committed Oct 22, 2024
1 parent a5b0bbd commit f330782
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gc/mmtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,9 @@ rb_mmtk_obj_free_iter_wrapper(VALUE obj, void *data)
// Shutdown
static void each_object(struct objspace *objspace, int (*func)(VALUE, void *), void *data);

void rb_gc_impl_shutdown_free_objects(void *objspace_ptr) {
void
rb_gc_impl_shutdown_free_objects(void *objspace_ptr)
{
mmtk_set_gc_enabled(false);
each_object(objspace_ptr, rb_mmtk_obj_free_iter_wrapper, objspace_ptr);
mmtk_set_gc_enabled(true);
Expand Down

0 comments on commit f330782

Please sign in to comment.