X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=c2c499fbbc205503ed42da278f585dfbc60c1ad1;hp=69edc5483fc3c10f3824d504b4b8de812f2c6f79;hb=14fff12d9df0ee30e2df4bf9d22c2e83065816df;hpb=44f964d9b2b2d55a5b5672e9297717bd25fa8ee2 diff --git a/src/main.cpp b/src/main.cpp index 69edc54..c2c499f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -134,5 +134,7 @@ void MainFunction() PThread::Sleep(1000); }while(!wantshutdown); + LogFile::Instance()->WriteLog(LogFile::LOGLEVEL_DEBUG,"FMS wants to shutdown"); + Shutdown(); }