summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorHParker <[email protected]>2023-12-19 21:12:18 -0800
committerYusuke Endoh <[email protected]>2023-12-20 14:36:32 +0900
commit7ef90b3978dad057ad6360a94d2d64e8ca5e9c38 (patch)
treecca84ec0c1dbd87b3df8112e7abe6be507da794b /ruby.c
parent7dca6b53a995a9782026f726c291344b5b8e0ab2 (diff)
Correct free_on_exit env var to free_at_exit
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