diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-02 22:00:13 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-02 22:00:13 +0300 |
commit | c7179342cb4f860305ecc6cd4780b5dfb9e20e2d (patch) | |
tree | e4fdcdcb17937ef33ef48c4e43c4eb913b5cb693 | |
parent | bb73924a397ebbdb6eb6c8b1cafa645bfa6ba71c (diff) |
fixes #3132 (StdUserInfo не добавляет пункт "User details" в меню контакта, когда вгружен на лету)
-rw-r--r-- | src/mir_app/src/newplugins.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mir_app/src/newplugins.cpp b/src/mir_app/src/newplugins.cpp index 301ef162d4..4b12871980 100644 --- a/src/mir_app/src/newplugins.cpp +++ b/src/mir_app/src/newplugins.cpp @@ -297,6 +297,10 @@ void Plugin_Uninit(pluginEntry *p) if (p == plugin_crshdmp)
plugin_crshdmp = nullptr;
+ for (auto &it : pluginDefault)
+ if (it.pImpl == p)
+ it.pImpl = nullptr;
+
servicePlugins.remove(p);
pluginList.remove(p);
mir_free(p);
@@ -322,6 +326,7 @@ bool Plugin_UnloadDyn(pluginEntry *p) }
stdPlugin = ⁢
+ break;
}
// if plugin has active resources, kill them forcibly
|