diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/plugins.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp index dbf29f63b7..aac18c4173 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -347,6 +347,7 @@ void PluginManager::loadFirstPlugin() { //TODO: rename? It's not quite clear tha } bool PluginManager::loadNextPlugin() { + if (nonEnginePlugs == _allPlugs.size()) return false; //There are no Engine Plugins in this case. //To ensure only one engine plugin is loaded at a time, we unload all engine plugins before trying to load a new one. unloadPluginsExcept(PLUGIN_TYPE_ENGINE, NULL); ++_currentPlugin; |