Abort recoveries before popping if better versions already exist
This commit is contained in:
parent
65ed4281d4
commit
07fb3ab0e6
3 changed files with 17 additions and 1 deletions
|
|
@ -492,7 +492,11 @@ inline StackIterateAction summarize_stack_callback(void *payload, const Iterator
|
|||
if (entry.depth < depth) break;
|
||||
if (entry.depth == depth && entry.state == state) return StackIterateNone;
|
||||
}
|
||||
array_push(session->summary, ((StackSummaryEntry){.depth = depth, .state = state}));
|
||||
array_push(session->summary, ((StackSummaryEntry){
|
||||
.position = iterator->node->position,
|
||||
.depth = depth,
|
||||
.state = state,
|
||||
}));
|
||||
return StackIterateNone;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue