summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/plugin-support.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/opentrack/plugin-support.hpp b/opentrack/plugin-support.hpp
index 30c738bb..b228b8d4 100644
--- a/opentrack/plugin-support.hpp
+++ b/opentrack/plugin-support.hpp
@@ -65,6 +65,7 @@ struct dylib final {
QString fullPath = QCoreApplication::applicationDirPath() + "/" + filename;
handle = new QLibrary(fullPath);
+ handle->setLoadHints(QLibrary::PreventUnloadHint | handle->loadHints());
struct _foo {
static bool die(QLibrary*& l, bool failp)