Merge pull request #2424 from Owain94/rxjava3

plugins: Remove plugin from the plugin list if it failed to start
This commit is contained in:
Owain van Brakel
2020-03-11 12:17:11 +01:00
committed by GitHub

View File

@@ -453,10 +453,12 @@ public class PluginManager
}
catch (ThreadDeath e)
{
activePlugins.remove(plugin);
throw e;
}
catch (Throwable ex)
{
activePlugins.remove(plugin);
throw new PluginInstantiationException(ex);
}