mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-02 15:34:05 +01:00
PBot: cancel alarm timeout when exiting
This commit is contained in:
parent
fef6137c59
commit
d74fb24c96
@ -327,6 +327,7 @@ sub register_signal_handlers {
|
|||||||
sub atexit {
|
sub atexit {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
$self->{atexit}->execute_all;
|
$self->{atexit}->execute_all;
|
||||||
|
alarm 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub irc_debug_trigger {
|
sub irc_debug_trigger {
|
||||||
|
Loading…
Reference in New Issue
Block a user