From 589f6c4018581a1effc6efa35cca9d37235be5dc Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sun, 18 Sep 2022 19:51:59 +0200 Subject: [PATCH] plugin: Finalize threadpool after configuration --- source/plugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/plugin.cpp b/source/plugin.cpp index 2bcf0788..e8885881 100644 --- a/source/plugin.cpp +++ b/source/plugin.cpp @@ -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());