Open sosthene-nitrokey opened 1 year ago
Restoring the status in all cases could work by wrapping the loop
in a closure, so we can get the result, always restore status, and only then return.
It would still be overridden by the reply_to
method anyway.
The
reply_to
method always restores the status to Idle anyway after the syscall returnsClose #129