Android: release deadlock protector from requestPermissions()
Note this would ideally use androiddeadlockprotector.h, but since it's living under the plugins directory it won't be accessible for this code without some refactoring. Fixes: QTBUG-133841 Pick-to: 6.9 6.8 6.5 Change-Id: I9b62e7a9809ba5e0782a82b9c07d122de544aece Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
This commit is contained in:
parent
25fbbb5612
commit
e8aa9ff638
@ -1127,6 +1127,8 @@ requestPermissionsInternal(const QStringList &permissions)
|
||||
env->DeleteLocalRef(array);
|
||||
});
|
||||
|
||||
QtAndroidPrivate::releaseAndroidDeadlockProtector();
|
||||
|
||||
return future;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user