From c18d6d479581610b4b9423ba76579e2c1fae0968 Mon Sep 17 00:00:00 2001 From: Brant Martin Date: Fri, 1 Nov 2019 12:18:21 -0400 Subject: [PATCH] Unhack the hack --- Torch/Plugins/PluginManager.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Torch/Plugins/PluginManager.cs b/Torch/Plugins/PluginManager.cs index f81f1ba..6ac9445 100644 --- a/Torch/Plugins/PluginManager.cs +++ b/Torch/Plugins/PluginManager.cs @@ -342,8 +342,8 @@ namespace Torch.Managers if (!entry.Name.EndsWith(".dll", StringComparison.CurrentCultureIgnoreCase)) continue; - if (loaded.Any(a => entry.Name.Contains(a.GetName().Name))) - continue; + //if (loaded.Any(a => entry.Name.Contains(a.GetName().Name))) + // continue; using (var stream = entry.Open()) @@ -380,8 +380,8 @@ namespace Torch.Managers if (!file.EndsWith(".dll", StringComparison.CurrentCultureIgnoreCase)) continue; - if (loaded.Any(a => file.Contains(a.GetName().Name))) - continue; + //if (loaded.Any(a => file.Contains(a.GetName().Name))) + // continue; using (var stream = File.OpenRead(file)) {