diff options
| author | Mårten Nordheim <marten.nordheim@qt.io> | 2023-10-13 13:41:16 +0200 |
|---|---|---|
| committer | Mårten Nordheim <marten.nordheim@qt.io> | 2024-01-19 22:28:00 +0000 |
| commit | c60db318836cf22b0f00b78ea189ba33fcf7b1c7 (patch) | |
| tree | 501c3be0424b189a9c03a5ec126eb13dc403c485 /src/corelib/kernel/qmetaobjectbuilder.cpp | |
| parent | 6ce6ff1c529a7a4a09f211980cc749c2b3aa0dab (diff) | |
SignalDumper: protect access to ignoreClasses
It's a shared list that, in theory, can be written to by multiple
threads. Protect it with a mutex.
To make the change in a clean way, move all the .contains() checks
into a separate function so we can simply hold the lock in there.
Pick-to: 6.7 6.6 6.5
Change-Id: I99ff185346d52e43a3f59f2910a7b2fa6031e3e4
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobjectbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
