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)
|
catch (ThreadDeath e)
|
||||||
{
|
{
|
||||||
|
activePlugins.remove(plugin);
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
catch (Throwable ex)
|
catch (Throwable ex)
|
||||||
{
|
{
|
||||||
|
activePlugins.remove(plugin);
|
||||||
throw new PluginInstantiationException(ex);
|
throw new PluginInstantiationException(ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user