зеркало из https://github.com/microsoft/BuildXL.git
Merged PR 803931: Ensure the cancellationToken is not passed to GarbageCollector.
Correct the condition to Ensure the cancellationToken is not passed to GarbageCollector. Related work items: #2211574
This commit is contained in:
Родитель
a7a028a014
Коммит
79c3c28478
|
@ -480,7 +480,7 @@ namespace BuildXL.Scheduler.Cache
|
|||
{
|
||||
// This flag ensures that garbage collection fully completes before proceeding,
|
||||
// preventing issues caused by incomplete entry populations during cache operations.
|
||||
if (m_waitForGCOnClose)
|
||||
if (!m_waitForGCOnClose)
|
||||
{
|
||||
// Stop garbage collection
|
||||
await m_garbageCollectCancellation.CancelTokenAsyncIfSupported();
|
||||
|
|
Загрузка…
Ссылка в новой задаче