Merge pull request #12132 from dev-ddoe/smartcard-deadlock

Fix dead lock in smartcard when using smartcard logon with emulated smartcard
This commit is contained in:
akallabeth
2026-01-13 11:22:11 +01:00
committed by GitHub

View File

@@ -227,6 +227,7 @@ void smartcard_context_free(void* pCtx)
/* cancel blocking calls like SCardGetStatusChange */
WINPR_ASSERT(pContext->smartcard);
smartcard_call_cancel_context(pContext->smartcard->callctx, pContext->hContext);
smartcard_call_context_signal_stop(pContext->smartcard->callctx, FALSE);
if (pContext->IrpQueue)
{