X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain.cpp;h=c2c499fbbc205503ed42da278f585dfbc60c1ad1;hb=14fff12d9df0ee30e2df4bf9d22c2e83065816df;hp=4bbcb709ed3fc3504aa87f6dc85f153cd78ca73f;hpb=b4f4686250878cdf4fcb2986a2ea6546cba867d1;p=fms.git diff --git a/src/main.cpp b/src/main.cpp index 4bbcb70..c2c499f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,9 +5,8 @@ #include #include #include - -//debug -#include "../include/freenet/fcpv2.h" +#include +#include #ifdef _WIN32 #include "../include/fmsservice.h" @@ -135,5 +134,7 @@ void MainFunction() PThread::Sleep(1000); }while(!wantshutdown); + LogFile::Instance()->WriteLog(LogFile::LOGLEVEL_DEBUG,"FMS wants to shutdown"); + Shutdown(); }