mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
SettingsDialog: Log when restart is required
This commit is contained in:
parent
e709d3fad5
commit
1ecf1e5dfd
@ -132,6 +132,7 @@ void SettingsDialog::SaveFormData()
|
||||
conf->Save();
|
||||
|
||||
if (needsRestart) {
|
||||
blog(LOG_INFO, "[SettingsDialog::SaveFormData] A setting was changed which requires a server restart.");
|
||||
auto server = GetWebSocketServer();
|
||||
server->Stop();
|
||||
if (conf->ServerEnabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user