WriteServLog.SetLogFileName(newSettings.GetLogFileName());
WriteServLog("ReadSettings error. %s", newSettings.GetStrError().c_str());
- return -1;
}
- settings = newSettings;
+ else
+ {
+ settings = newSettings;
+ }
traffCnt.Reload();
manager.reload(settings);
}
WriteServLog("+++++++++++++++++++++++++++++++++++++++++++++");
+manager.stop();
+
if (loop.Stop())
WriteServLog("Event loop not stopped.");