Fixes Future usage in CCmpPathfinder after 0eed117e6d.

This commit is contained in:
Vladislav Belov 2024-10-14 01:02:01 +02:00
parent b1f0ebda41
commit 5e4b3f84b6
No known key found for this signature in database
GPG key ID: 353545E45DB9CCB3

View file

@ -799,7 +799,8 @@ void CCmpPathfinder::SendRequestedPaths()
}
// We're done, get the exceptions from the futures.
for (Future<void>& future : m_Futures)
future.Get();
if (future.Valid())
future.Get();
{
PROFILE2("PostMessages");