diff options
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4598,6 +4598,8 @@ rb_gc_disable(void) rb_objspace_t *objspace = &rb_objspace; int old = dont_gc; + gc_rest_sweep(objspace); + dont_gc = TRUE; return old ? Qtrue : Qfalse; } |