We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6d0552 commit 92450cfCopy full SHA for 92450cf
1 file changed
crates/bevy_ecs/src/schedule_v3/graph_utils.rs
@@ -320,7 +320,6 @@ where
320
}
321
322
323
- // TODO: make iterator, setup stack to return here
324
if successors.peekable().peek().is_none() {
325
if maybe_in_more_cycles.contains(node) {
326
unblock_stack.push(*node);
@@ -343,11 +342,8 @@ where
343
342
344
345
346
- // remove node from path
347
- debug_assert_eq!(path.last(), Some(node));
+ // remove node from path and DFS stack
348
path.pop();
349
-
350
- // remove node from DFS stack
351
stack.pop();
352
353
0 commit comments