mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[Bug #20562] Categorize RUBY_FREE_AT_EXIT
warning as experimental
This commit is contained in:
parent
0bc91fa6df
commit
01b13886dc
1 changed files with 1 additions and 1 deletions
2
ruby.c
2
ruby.c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue