summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-04 09:23:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-04 09:23:06 +0100
commit4a2d23c14089cb98901e3df535037f7d8095e9a7 (patch)
treeb8f2f00e62a3575eb24853ea2dc83989b4d3195d /api
parent89a18bbb9a42d7bb54efe292bdc4f792176008fb (diff)
main: workaround crash on exit without terminating process
Diffstat (limited to 'api')
-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 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;