diff options
-rw-r--r-- | src/mir_app/src/newplugins.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mir_app/src/newplugins.cpp b/src/mir_app/src/newplugins.cpp index a0769d2b19..1771bb117f 100644 --- a/src/mir_app/src/newplugins.cpp +++ b/src/mir_app/src/newplugins.cpp @@ -834,6 +834,10 @@ int LoadNewPluginsModule(void) }
}
+ for (auto &it : servicePlugins.rev_iter())
+ if (!isPluginOnWhiteList(it->pluginname))
+ Plugin_Uninit(it);
+
HookEvent(ME_OPT_INITIALISE, PluginOptionsInit);
return 0;
}
|