diff options
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3161,6 +3161,12 @@ ruby_vm_destruct(rb_vm_t *vm) /* after freeing objspace, you *can't* use ruby_xfree() */ ruby_mimfree(vm); ruby_current_vm_ptr = NULL; + +#if USE_YJIT + if (rb_free_at_exit) { + rb_yjit_free_at_exit(); + } +#endif } RUBY_FREE_LEAVE("vm"); return 0; |