# fix\(updater\): lock the initial installed-version read \(\#616\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/6f979487eb5dfda6727f6c351eeccd9fe7b6e2d1)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 6f979487eb5dfda6727f6c351eeccd9fe7b6e2d1

Requested commit: 6f979487eb5dfda6727f6c351eeccd9fe7b6e2d1

Commit: 6f979487eb5dfda6727f6c351eeccd9fe7b6e2d1

Tree: 7977aae09f238869f957e12538db8ddc1d113505

Author: Simone

Committer: GitHub

## Message

```
fix(updater): lock the initial installed-version read (#616)

A concurrent install can temporarily remove or invalidate package metadata. Wait on the shared installation lock before the initial update-mode read, then release it before network requests and retain the locked post-download recheck.

Add a real-lock regression that also verifies network requests do not hold the lock. Extend the QML deadline for the second bounded lock wait. Update usage/development documentation and Unreleased notes; no parity TODO, configuration, or translation changes.
```

## Parents

- [254e4dcbf3448eedff2797d13ce8ea18f6effe35](https://git.cafe/lucenx/codexbar-plasma/commit/254e4dcbf3448eedff2797d13ce8ea18f6effe35?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/6f979487eb5dfda6727f6c351eeccd9fe7b6e2d1?format=markdown)
