• Ludovic Rousseau's avatar
    MSGRemoveContext(): always disconnect the card · c3bcdeb7
    Ludovic Rousseau authored
    We need to call SCardDisconnect() in all cases so that the card use
    counter is always decremented when a client disappear.
    
    - when no lock is in use
    - when a lock is in use
      - but the lock is held by another context
      - the lock is held by the current context
    
    The bug effect was that smart card auto power off was not working
    correctly.
    c3bcdeb7
Name
Last commit
Last update
UnitaryTests Loading commit data...
doc Loading commit data...
etc Loading commit data...
m4 Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
GPL-3.0.txt Loading commit data...
HELP Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.md Loading commit data...
SECURITY Loading commit data...
TODO Loading commit data...
bootstrap Loading commit data...
c.sh Loading commit data...
clang-analyze.sh Loading commit data...
configure.ac Loading commit data...
splint.sh Loading commit data...
stamp-h.in Loading commit data...