Branch: refs/heads/yves/locale_destruct_comment
Home: https://github.com/Perl/perl5
Commit: 47db6fd81161b4407b0f8ca6d9398a9c79efbb62
https://github.com/Perl/perl5/commit/47db6fd81161b4407b0f8ca6d9398a9c79efbb62
Author: Yves Orton <[email protected]>
Date: 2022-11-01 (Tue, 01 Nov 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.