# fix: resolve data race in std.Progress.maybeRefresh\(\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 697e22caa49716369dff6c86461b94fe10b0a009

Requested commit: 697e22caa49716369dff6c86461b94fe10b0a009

Commit: 697e22caa49716369dff6c86461b94fe10b0a009

Tree: 2761645335aabff446b12bef97127e23b93ae5b0

Author: r00ster91

Committer: Veikka Tuominen

## Message

```
fix: resolve data race in std.Progress.maybeRefresh()

It seems we can simply lock the update mutex a little earlier.

```

## Parents

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

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