summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 40601cc6de..7c27cd96b6 100644
--- a/eval.c
+++ b/eval.c
@@ -17,6 +17,7 @@
#include "gc.h"
#include "ruby/vm.h"
#include "vm_core.h"
+#include "mjit.h"
#include "probes_helper.h"
NORETURN(void rb_raise_jump(VALUE, VALUE));
@@ -218,6 +219,8 @@ ruby_cleanup(volatile int ex)
}
}
+ mjit_finish(); /* We still need ISeqs here. */
+
ruby_finalize_1();
/* unlock again if finalizer took mutexes. */