SettingsDialog: Log when restart is required

This commit is contained in:
tt2468 2021-06-05 23:09:02 -07:00
parent e709d3fad5
commit 1ecf1e5dfd

View File

@ -132,6 +132,7 @@ void SettingsDialog::SaveFormData()
conf->Save(); conf->Save();
if (needsRestart) { if (needsRestart) {
blog(LOG_INFO, "[SettingsDialog::SaveFormData] A setting was changed which requires a server restart.");
auto server = GetWebSocketServer(); auto server = GetWebSocketServer();
server->Stop(); server->Stop();
if (conf->ServerEnabled) { if (conf->ServerEnabled) {