summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-01-11 18:00:01 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-01-11 18:06:23 +0100
commit62357018155badc4c4ae2c620e9d8846717d1a8c (patch)
treea30b2c1c90163e3e5611aed5227e9782d919ea88
parent789dec822fabdc2ca3ce27ce03844b1c8e5519df (diff)
api: unload dll's on program exit
This works with MSVC, as long as the simconnect dll isn't unloaded by its module.
-rw-r--r--api/plugin-support.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/plugin-support.hpp b/api/plugin-support.hpp
index 30b50753..4300da18 100644
--- a/api/plugin-support.hpp
+++ b/api/plugin-support.hpp
@@ -53,7 +53,7 @@ struct dylib final
return;
handle.setFileName(filename_);
- handle.setLoadHints(QLibrary::DeepBindHint | QLibrary::PreventUnloadHint | QLibrary::ResolveAllSymbolsHint);
+ handle.setLoadHints(QLibrary::DeepBindHint | QLibrary::ResolveAllSymbolsHint);
#ifdef __clang__
# pragma clang diagnostic push