extensions/source/update/check/updatecheck.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 51781f04b686d677c4ebd7e6b35b229b746a3d96 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sat Aug 23 15:30:46 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon Sep 1 09:17:06 2025 +0200 cid#1660144 silence bogus Data race condition Change-Id: I023214c154ab3a44fca3b3b504c20b4670da2f99 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190444 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 36ca9bfbb757..a43f48c37522 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -934,6 +934,8 @@ UpdateCheck::shutdownThread(bool join) void UpdateCheck::enableAutoCheck(bool enable) { + // The (recursive) mutex is (at time of writing) always locked already here + std::scoped_lock aGuard(m_aMutex); if( enable ) { m_updateCheckRunning = true;