plugins: Remove plugin from the plugin list if it failed to start
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user