This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set PERL_EXIT_DESTRUCT_END in all embeddings
[perl5.git]
/
win32
/
perllib.c
diff --git
a/win32/perllib.c
b/win32/perllib.c
index
246f67a
..
25b2015
100644
(file)
--- a/
win32/perllib.c
+++ b/
win32/perllib.c
@@
-230,6
+230,7
@@
RunPerl(int argc, char **argv, char **env)
if (!(my_perl = perl_alloc()))
return (1);
perl_construct(my_perl);
+ PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
PL_perl_destruct_level = 0;
/* PERL_SYS_INIT() may update the environment, e.g. via ansify_path().