mirror of
https://github.com/Palakis/obs-websocket.git
synced 2025-07-25 11:02:36 +00:00
base: Make sure config is saved on exit
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user