plugin: Finalize threadpool after configuration
This commit is contained in:
parent
825f93fb24
commit
589f6c4018
|
|
@ -324,12 +324,12 @@ MODULE_EXPORT void obs_module_unload(void)
|
||||||
// _updater.reset();
|
// _updater.reset();
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
// Finalize Thread Pool
|
|
||||||
_threadpool.reset();
|
|
||||||
|
|
||||||
// Finalize Configuration
|
// Finalize Configuration
|
||||||
streamfx::configuration::finalize();
|
streamfx::configuration::finalize();
|
||||||
|
|
||||||
|
// Finalize Thread Pool
|
||||||
|
_threadpool.reset();
|
||||||
|
|
||||||
DLOG_INFO("Unloaded Version %s", STREAMFX_VERSION_STRING);
|
DLOG_INFO("Unloaded Version %s", STREAMFX_VERSION_STRING);
|
||||||
} catch (std::exception const& ex) {
|
} catch (std::exception const& ex) {
|
||||||
DLOG_ERROR("Unexpected exception in function '%s': %s", __FUNCTION_NAME__, ex.what());
|
DLOG_ERROR("Unexpected exception in function '%s': %s", __FUNCTION_NAME__, ex.what());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue