diff options
author | MÃ¥rten Nordheim <marten.nordheim@qt.io> | 2021-10-26 15:04:19 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2021-11-25 08:52:39 +0000 |
commit | 8f8775adf3c4fbba1bd3c120a228351d46f50127 (patch) | |
tree | 52655d992735025a9d0d1c421838f5a7c67a7f00 /tests/auto/corelib/kernel/qmetatype | |
parent | a92619d950fdbf803cdc8c8ca8e75c1c82abb23f (diff) |
QHash: fix thread race around references and detaching
If we detach from a shared hash while holding a reference to a key from
said shared hash then there is no guarantee for how long the reference
is valid (given a multi-thread environment).
Pick-to: 6.2
Change-Id: Ifb610753d24faca63e2c0eb8836c78d55a229001
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'tests/auto/corelib/kernel/qmetatype')
0 files changed, 0 insertions, 0 deletions