summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-12-28 15:09:52 +0100
committerMarc Mutz <marc.mutz@qt.io>2023-01-04 17:55:35 +0100
commit080e1b6011ae8b05de4cb03fcdaca4172e5ea8c2 (patch)
tree9b3e93676c3ed74b604c43a037f1dc80b8a575d7 /src/network/access
parent7e7bae35f758acba45257d1cb4229d5bc43b07ca (diff)
QAndroidExtras: release mutex earlier in requestPermissionsInternal()
The g_pendingPermissionRequestsMutex protects only the g_pendingPermissionRequests QHash, so we can drop it immediately after the QHash::insert() call. In particular, we don't use reference into the QHash afterwards, and the following runOnAndroidMainThread() call is internally synchronized, anyway. Change-Id: I66a0e402e9ed1edb5fd9fec14e85f9371cc4fc36 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/network/access')
0 files changed, 0 insertions, 0 deletions