diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-12-28 15:09:52 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-01-04 17:55:35 +0100 |
commit | 080e1b6011ae8b05de4cb03fcdaca4172e5ea8c2 (patch) | |
tree | 9b3e93676c3ed74b604c43a037f1dc80b8a575d7 /src/network/access | |
parent | 7e7bae35f758acba45257d1cb4229d5bc43b07ca (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