# std.Progress: fix race assertion failure · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/4b776ae44139fb1a3601949b60ff580f3f16e73f)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 4b776ae44139fb1a3601949b60ff580f3f16e73f

Requested commit: 4b776ae44139fb1a3601949b60ff580f3f16e73f

Commit: 4b776ae44139fb1a3601949b60ff580f3f16e73f

Tree: 12ec0ac64d1b2372536cd960229b35ecb78fcbdc

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Progress: fix race assertion failure

A node may be freed during the execution of this loop, causing there to
be a parent reference to a nonexistent node. Without this assignment,
this would lead to the map entry containing stale data. By assigning
none, the child node with the bad parent pointer will be harmlessly
omitted from the tree.

Closes #20262

```

## Parents

- [d9bd34fd0533295044ffb4160da41f7873aff905](https://git.cafe/gitcafe/zig/commit/d9bd34fd0533295044ffb4160da41f7873aff905?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/4b776ae44139fb1a3601949b60ff580f3f16e73f?format=markdown)
