File tree 1 file changed +4
-2
lines changed
Public/Src/Engine/Scheduler
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1682,8 +1682,6 @@ public async Task<bool> WhenDone()
1682
1682
Logger . Log . TopPipsPerformanceInfo ( m_loggingContext , processPipPerf ) ;
1683
1683
}
1684
1684
1685
- await State . Cache . CloseAsync ( ) ;
1686
-
1687
1685
var shutdownServicesSucceeded = await m_serviceManager . ShutdownStartedServices ( Context . CancellationToken . IsCancellationRequested ) ;
1688
1686
Contract . Assert (
1689
1687
shutdownServicesSucceeded || m_executePhaseLoggingContext . ErrorWasLogged ,
@@ -1712,6 +1710,10 @@ public async Task<bool> WhenDone()
1712
1710
}
1713
1711
}
1714
1712
1713
+ // We intentionally close the cache (including HistoricMetadataCache - HMC) after we finish the workers.
1714
+ // We might report PathSets coming from the workers to HMC, so it is important for HMC to be active.
1715
+ await State . Cache . CloseAsync ( ) ;
1716
+
1715
1717
if ( m_fingerprintStoreTarget != null )
1716
1718
{
1717
1719
// Dispose the fingerprint store to allow copying the files
You can’t perform that action at this time.
0 commit comments