diff --git a/src/obs-websocket.cpp b/src/obs-websocket.cpp index 96ec8607..f7d112d8 100644 --- a/src/obs-websocket.cpp +++ b/src/obs-websocket.cpp @@ -67,6 +67,8 @@ void obs_module_unload() { blog(LOG_INFO, "[obs_module_unload] Shutting down..."); + _config->Save(); + if (_webSocketServer->IsListening()) { blog(LOG_INFO, "[obs_module_unload] WebSocket server is running. Stopping..."); _webSocketServer->Stop();