Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transaction: Implement Card::reconnect() wrapper
This gives us access to Card::reconnect() from within a transaction so that we can check the card status and reset it conditionally with no interference from other processes. This fixes a race condition I had between two processes where both processes passed the status check resulting in two card resets. Signed-off-by: Konrad Vité <[email protected]>
- Loading branch information