diff options
Diffstat (limited to 't')
-rw-r--r-- | t/perl/test_harakiri.psgi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/perl/test_harakiri.psgi b/t/perl/test_harakiri.psgi index 7680944a..35a40dbf 100644 --- a/t/perl/test_harakiri.psgi +++ b/t/perl/test_harakiri.psgi @@ -6,6 +6,12 @@ use warnings; sub DESTROY { print STDERR "$$: Calling DESTROY\n" } } +uwsgi::atexit( + sub { + print STDERR "$$: Calling the atexit hook\n"; + } +); + sub { my $env = shift; |