summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/plugin-support.hpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/api/plugin-support.hpp b/api/plugin-support.hpp
index 1bafd6ff..191b8d73 100644
--- a/api/plugin-support.hpp
+++ b/api/plugin-support.hpp
@@ -76,12 +76,7 @@ struct dylib final
}
~dylib()
{
- if (handle.isLoaded())
- {
- const bool success = handle.unload();
- if (!success)
- qDebug() << "can't unload dylib" << filename << handle.errorString();
- }
+ // QLibrary refcounts the .dll's so don't forcefully unload
}
static QList<std::shared_ptr<dylib>> enum_libraries(const QString& library_path)