base: Reset websocket server on unload

This commit is contained in:
tt2468 2021-04-27 15:21:30 -07:00
parent 9577382780
commit 20de7409d8

View File

@ -61,6 +61,7 @@ bool obs_module_load(void)
void obs_module_unload() void obs_module_unload()
{ {
_config.reset(); _config.reset();
_webSocketServer.reset();
blog(LOG_INFO, "Finished shutting down."); blog(LOG_INFO, "Finished shutting down.");
} }