summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ruby.c b/ruby.c
index 2571edafc9..f14d4f1ee0 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1770,9 +1770,9 @@ ruby_opt_init(ruby_cmdline_options_t *opt)
"environment variables RUBY_GC_HEAP_%d_INIT_SLOTS");
}
- if (getenv("RUBY_FREE_ON_EXIT")) {
- rb_warn("Free on exit is experimental and may be unstable");
- rb_free_on_exit = true;
+ if (getenv("RUBY_FREE_AT_EXIT")) {
+ rb_warn("Free at exit is experimental and may be unstable");
+ rb_free_at_exit = true;
}
#if USE_RJIT