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:
parent
b57fea8120
commit
c9be31a9c0
@ -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;
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user