plugin: Finalize threadpool after configuration

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2022-09-18 19:51:59 +02:00
parent 825f93fb24
commit 589f6c4018

View file

@ -324,12 +324,12 @@ MODULE_EXPORT void obs_module_unload(void)
// _updater.reset();
//#endif
// Finalize Thread Pool
_threadpool.reset();
// Finalize Configuration
streamfx::configuration::finalize();
// Finalize Thread Pool
_threadpool.reset();
DLOG_INFO("Unloaded Version %s", STREAMFX_VERSION_STRING);
} catch (std::exception const& ex) {
DLOG_ERROR("Unexpected exception in function '%s': %s", __FUNCTION_NAME__, ex.what());