From 3516a342d7cf105a8c20666045705d25eabed9e2 Mon Sep 17 00:00:00 2001
From: Stanislaw Halik <sthalik@misaki.pl>
Date: Thu, 28 Feb 2019 19:38:31 +0100
Subject: api: don't even try to unload the library

---
 api/plugin-support.hpp | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'api')

diff --git a/api/plugin-support.hpp b/api/plugin-support.hpp
index b9400e88..33fe1933 100644
--- a/api/plugin-support.hpp
+++ b/api/plugin-support.hpp
@@ -179,9 +179,6 @@ private:
         {
             qDebug() << "library" << module_name << "failed:" << handle.errorString();
 
-            if (handle.isLoaded())
-                (void) handle.unload();
-
             Constructor = nullptr;
             Dialog = nullptr;
             Meta = nullptr;
-- 
cgit v1.2.3