Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix SCardCancel() that was broken in version 1.8.21
Changes in 9a21c82 broke SCardCancel(). The problem was that SCardCancel() was blocked until SCardGetStatusChange() had finished. This is stupid because SCardCancel() is supposed to cancel SCardGetStatusChange(). Thanks to Ran Benita for the bug report "[Pcsclite-muscle] A recent change causes SCardCancel() to block?" http://lists.alioth.debian.org/pipermail/pcsclite-muscle/2017-June/000921.html
- Loading branch information
7a3738d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
At least strongSwan still hangs on exit due to SCardCancel() not terminating SCardGetStatusChange() call. I've created pull request #24 with a patch that appears to fix this...