added gcthread cleanup on failure.

This commit is contained in:
Maplewheels
2026-05-30 22:21:15 -04:00
parent c452493555
commit a729269763

View File

@@ -1010,6 +1010,8 @@ public class PluginManagementService : IAssemblyManagementService
catch (TimeoutException te)
{
_logger.LogError($"{nameof(RunGC)}: The GC task thread has timed out.");
gcThread.Interrupt();
gcThread.Join();
}
if (logResults)