diff --git a/source/simulation2/components/CCmpPathfinder.cpp b/source/simulation2/components/CCmpPathfinder.cpp index 0e1e24caba..5260a7395d 100644 --- a/source/simulation2/components/CCmpPathfinder.cpp +++ b/source/simulation2/components/CCmpPathfinder.cpp @@ -799,7 +799,8 @@ void CCmpPathfinder::SendRequestedPaths() } // We're done, get the exceptions from the futures. for (Future& future : m_Futures) - future.Get(); + if (future.Valid()) + future.Get(); { PROFILE2("PostMessages");