Branch: refs/heads/yves/locale_destruct_comment
Home: https://github.com/Perl/perl5
Commit: ef28bacbb82cdc0777409dd6e058cb37e3edad67
https://github.com/Perl/perl5/commit/ef28bacbb82cdc0777409dd6e058cb37e3edad67
Author: Yves Orton <[email protected]>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M locale.c
Log Message:
-----------
locale.c - add comments about PERL_DESTRUCT_LEVEL avoiding "leaks"
Some of the locale data is deliberately not destroyed during shutdown.
Setting PERL_DESTRUCT_LEVEL=2 causes them to be cleaned up. If someone
ends up debugging under the address sanitizer and ends up at this logic
then the comments will help them avoid some frustration.