3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-01-11 20:42:38 +01:00

PBot: fix execute_and_dequeue atexit

This commit is contained in:
Pragmatic Software 2020-05-29 20:48:53 -07:00
parent b57fea8120
commit c9be31a9c0

View File

@ -260,7 +260,7 @@ sub initialize {
# flush all pending save events to disk at exit
$self->{atexit}->register(sub {
$self->{pbot}->{timer}->execute_and_dequeue_event('save *');
$self->{timer}->execute_and_dequeue_event('save *');
return;
}
);