diff options
Diffstat (limited to 'api/plugin-support.hpp')
-rw-r--r-- | api/plugin-support.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/plugin-support.hpp b/api/plugin-support.hpp index acba925c..85b8653c 100644 --- a/api/plugin-support.hpp +++ b/api/plugin-support.hpp @@ -62,7 +62,7 @@ struct dylib final return; handle.setFileName(filename_); - handle.setLoadHints(QLibrary::DeepBindHint | QLibrary::ResolveAllSymbolsHint); + handle.setLoadHints(QLibrary::DeepBindHint | QLibrary::ResolveAllSymbolsHint | QLibrary::PreventUnloadHint); if (check(!handle.load())) return; |