From e2d276253e23bfab930ef8643f0109d25c16848c Mon Sep 17 00:00:00 2001 From: somewhatlurker <52014015+somewhatlurker@users.noreply.github.com> Date: Wed, 28 Aug 2019 01:08:38 +1000 Subject: [PATCH] launcher: bugfix --- source-code/source/plugins/Launcher/framework.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source-code/source/plugins/Launcher/framework.h b/source-code/source/plugins/Launcher/framework.h index d166c1f..1579fc2 100644 --- a/source-code/source/plugins/Launcher/framework.h +++ b/source-code/source/plugins/Launcher/framework.h @@ -319,7 +319,8 @@ std::vector LoadPlugins() if (optsFunc != NULL) thisplugin.configopts = PluginConfig::GetConfigOptionVec(optsFunc()); - FreeLibrary(thisplugin.handle); + // sometimes this might screw with custom button config, so let's just not free stuff + // FreeLibrary(thisplugin.handle); outvec.push_back(thisplugin); }