In the RequestUserConsent syscall, the ui status is saved, then set to WaitingForUserPresence and finally restored at the end of the call.
However, there are early returns in the loop that cause the restoration to not happen. This is not a very large issue as the call to process restores the status to Idle.
I think the restoration of the status should be removed as it isn't very useful since it is overridden to Idle just after.
In the RequestUserConsent syscall, the ui status is saved, then set to
WaitingForUserPresenceand finally restored at the end of the call.However, there are early returns in the loop that cause the restoration to not happen. This is not a very large issue as the call to
processrestores the status toIdle.I think the restoration of the status should be removed as it isn't very useful since it is overridden to Idle just after.