mirror of
https://github.com/ruby/ruby.git
synced 2026-10-29 00:46:26 +08:00
[Bug #20562] Categorize RUBY_FREE_AT_EXIT warning as experimental
This commit is contained in:
1 parent
0bc91fa6df
commit
01b13886dc
1 file changed
+1
-1
@@ -1779,7 +1779,7 @@ ruby_opt_init(ruby_cmdline_options_t *opt)
|
||||
}
|
||||
|
||||
if (getenv("RUBY_FREE_AT_EXIT")) {
|
||||
rb_warn("Free at exit is experimental and may be unstable");
|
||||
rb_category_warn(RB_WARN_CATEGORY_EXPERIMENTAL, "Free at exit is experimental and may be unstable");
|
||||
rb_free_at_exit = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user