added gcthread cleanup on failure.

This commit is contained in:
Maplewheels
2026-05-30 22:21:15 -04:00
parent c452493555
commit a729269763
@@ -1009,7 +1009,9 @@ public class PluginManagementService : IAssemblyManagementService
} }
catch (TimeoutException te) catch (TimeoutException te)
{ {
_logger.LogError($"{nameof(RunGC)}: The GC task thread has timed out."); _logger.LogError($"{nameof(RunGC)}: The GC task thread has timed out.");
gcThread.Interrupt();
gcThread.Join();
} }
if (logResults) if (logResults)