From f905b78a88cd62ea5303ce6d78308a4f068ad54f Mon Sep 17 00:00:00 2001 From: "John L. Singleton" Date: Mon, 11 Sep 2023 16:27:41 -0400 Subject: [PATCH] finally fixed this --- scripts/matrix_testing/CreateMatrixTestReport.ps1 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/matrix_testing/CreateMatrixTestReport.ps1 b/scripts/matrix_testing/CreateMatrixTestReport.ps1 index 0cf48ac36c..6f570c1b82 100644 --- a/scripts/matrix_testing/CreateMatrixTestReport.ps1 +++ b/scripts/matrix_testing/CreateMatrixTestReport.ps1 @@ -417,9 +417,7 @@ $jobRows = $queriesToCheck | ForEach-Object -ThrottleLimit $NumThreads -Parallel # output current row state $row - # release any held mutexes - $Mutex.ReleaseMutex(); - + ########################################################### ########################################################### # Context is restored here @@ -427,6 +425,10 @@ $jobRows = $queriesToCheck | ForEach-Object -ThrottleLimit $NumThreads -Parallel if($context){ Pop-CompilerSpecificFiles -Context $context } + + # release any held mutexes + $Mutex.ReleaseMutex(); + Write-Host "Released $testDirectory" } } # go to next row