Do not call logOut() since we have no webhooks and for faster restarts.

This commit is contained in:
eleksir
2025-04-27 13:07:15 +03:00
parent 82df563f40
commit da182ae62f

View File

@@ -193,10 +193,6 @@ sub __fork {
sub __signal_handler { sub __signal_handler {
$log->info ("[INFO] Caught a signal $OS_ERROR"); $log->info ("[INFO] Caught a signal $OS_ERROR");
eval {
$main::TGM->logOut();
};
if (-e $pidfile) { if (-e $pidfile) {
unlink $pidfile; unlink $pidfile;
} }