forked from LudovicRousseau/CCID
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix polling transfer restart after InterruptStop
Fix the regression introduced in the "Fix InterruptStop if called before InterruptRead" commit: it should be possible to start a new polling transfer after the previous one has been stopped. This problem prevented the polling transfer from working after an SCardDisconnect call, and led to using the sleep-based polling every 400 ms. Implementation-wise, the fix is to change the "terminate" flag to be non-sticky, i.e., unset it after reading from it.
- Loading branch information
1 parent
440ab83
commit 4dce7ea
Showing
1 changed file
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters