diff options
Diffstat (limited to 'src/mir_app/src/modules.cpp')
-rw-r--r-- | src/mir_app/src/modules.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mir_app/src/modules.cpp b/src/mir_app/src/modules.cpp index 2c51f52b04..9f77361280 100644 --- a/src/mir_app/src/modules.cpp +++ b/src/mir_app/src/modules.cpp @@ -146,6 +146,10 @@ int LoadDefaultModules(void) default: // smth went wrong, terminating
return 1;
}
+
+ for (auto &it : pluginList.rev_iter())
+ if (!it->bIsLast && it->bOk)
+ Plugin_UnloadDyn(it, false);
plugin_service = nullptr;
}
|