From 90ff3f93f09a4e96c6a33a67e0f1f9b9a3159a49 Mon Sep 17 00:00:00 2001 From: zznty <94796179+zznty@users.noreply.github.com> Date: Sat, 15 Oct 2022 00:44:49 +0700 Subject: [PATCH] disable gc patch because conflicting with the same from plugin --- Torch/Patches/GcCollectPatch.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Torch/Patches/GcCollectPatch.cs b/Torch/Patches/GcCollectPatch.cs index f913ea8..522570d 100644 --- a/Torch/Patches/GcCollectPatch.cs +++ b/Torch/Patches/GcCollectPatch.cs @@ -1,4 +1,5 @@ -using System; +#if false +using System; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; @@ -50,4 +51,5 @@ internal static class GcCollectPatch yield return instruction; } } -} \ No newline at end of file +} +#endif \ No newline at end of file