mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
fix(PathRequest): remove incorrect assert (#4743)
The assert is saying that the only reason `pathFinder` would be null is if the request was aborted (connection dropped, etc.). That's what `continueCallback()` checks. But that is very clearly not true if you look at `getPathFinder`, which calls `findPaths`, which can return false for many reasons. Fix #4744
This commit is contained in:
@@ -538,7 +538,6 @@ PathRequest::findPaths(
|
|||||||
continueCallback);
|
continueCallback);
|
||||||
if (!pathfinder)
|
if (!pathfinder)
|
||||||
{
|
{
|
||||||
assert(continueCallback && !continueCallback());
|
|
||||||
JLOG(m_journal.debug()) << iIdentifier << " No paths found";
|
JLOG(m_journal.debug()) << iIdentifier << " No paths found";
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user