From 1f5ee454c0791f378a95cfe6d56ce39ea06c2bac Mon Sep 17 00:00:00 2001 From: MapleWheels Date: Mon, 18 May 2026 13:29:10 -0400 Subject: [PATCH] Increased number of GC iterations by one. --- .../SharedSource/LuaCs/_Services/PluginManagementService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/_Services/PluginManagementService.cs b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/_Services/PluginManagementService.cs index a34e476a3..f031f7055 100644 --- a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/_Services/PluginManagementService.cs +++ b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/_Services/PluginManagementService.cs @@ -92,7 +92,7 @@ public class PluginManagementService : IAssemblyManagementService private static readonly int GC_COLLECT_WAIT_TIME = 1000, - GC_BACKGND_MAXITERATIONS = 1, + GC_BACKGND_MAXITERATIONS = 2, GC_BACKGND_INTERVAL_MILLIS = 500, GC_BACKGND_GENERATION_WAIT_MILLIS = 100;