base: Make sure config is saved on exit

This commit is contained in:
tt2468 2021-04-28 11:44:35 -07:00
parent b53b40d9c8
commit aa241ecc9e

View File

@ -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();