summaryrefslogtreecommitdiffstats
path: root/LICENSE.QT-LICENSE-AGREEMENT-4.0
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2019-03-21 13:03:21 +0100
committerLars Knoll <lars.knoll@qt.io>2019-03-21 21:58:06 +0000
commit12bc039baa2672c98518277ea146bedec3a92ac0 (patch)
tree0a0e59a4786f248df96e46e09c833075702ddc79 /LICENSE.QT-LICENSE-AGREEMENT-4.0
parent3c4721488af0f33515911d07033d3f9981952543 (diff)
Don't iterate over the connections without holding a lock
When checking whether a slot is connected to a signal, we need to hold the signalSlotLock to be sure about the answer, or we can get crashes when a connection gets removed while doing the check. The check in activate() can handle some uncertainty as it's only a shortcut to the longer path. Fixes: QTBUG-74604 Change-Id: I3fc822455fbadc0223ef68632f5fb3df3ff3e86d Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
Diffstat (limited to 'LICENSE.QT-LICENSE-AGREEMENT-4.0')
0 files changed, 0 insertions, 0 deletions