loading indicator

This commit is contained in:
Pilzinsel64
2025-10-21 13:16:51 +02:00
parent 6fb68f282a
commit b27fe9362a
3 changed files with 66 additions and 2 deletions

View File

@@ -159,8 +159,8 @@ public class PluginManager<TPluginInterface, TPluginRuntimeInfo> where TPluginIn
{
if (result.Assembly == null)
result.Status = PluginLoadStatus.NoValidPlugin;
//else if (loadedPlugins.Any(n => n.Assembly == result.Assembly))
// result.Status = PluginLoadStatus.AlreadyLoaded;
else if (loadedPlugins.Any(n => n.Assembly == result.Assembly))
result.Status = PluginLoadStatus.AlreadyLoaded;
else
{
foreach (var type in result.Assembly.GetTypes())