Make use of logOut() method

This commit is contained in:
eleksir
2024-08-22 21:42:58 +03:00
parent ebaf2c9b38
commit 1667772268

View File

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