From d74fb24c965188bd2fbd2d6d887f2c3ce39b9982 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Wed, 26 Feb 2020 02:11:42 -0800 Subject: [PATCH] PBot: cancel alarm timeout when exiting --- PBot/PBot.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PBot/PBot.pm b/PBot/PBot.pm index a6fe8c01..c2c8716e 100644 --- a/PBot/PBot.pm +++ b/PBot/PBot.pm @@ -327,6 +327,7 @@ sub register_signal_handlers { sub atexit { my $self = shift; $self->{atexit}->execute_all; + alarm 0; } sub irc_debug_trigger {