Skip to content

cleanOrphanedConnectionsImpl: Allow to skip locking

Andreas Sturmlechner requested to merge asturmlechner/qtbase:locking into kde/5.15

cleanOrphanedConnectionsImpl: Allow to skip locking

This function is/will be used in a few places where we already have a lock. Temporarily unlocking and relocking invites all kinds of troubles. By adding a flag we can instead tell the function that we already hold the lock.

Pick-to: 6.2 6.1 5.15 Change-Id: Ibca089de61133661d5cd75290f2a55c22c5d013c Reviewed-by: Andrei Golubev andrei.golubev@qt.io (cherry picked from commit 556fc646)

Edited by Andreas Sturmlechner

Merge request reports