[utils,smartcard] stop context thread on cancel all

When cancelling all smartcard context related operations also trigger
smartcard_call_context_signal_stop to terminate all related threads.
This commit is contained in:
Armin Novak
2026-02-20 09:58:59 +01:00
parent 0caa0fb4f6
commit 33a8b879eb

View File

@@ -2053,6 +2053,7 @@ BOOL smartcard_call_cancel_all_context(scard_call_context* ctx)
{
WINPR_ASSERT(ctx);
smartcard_call_context_signal_stop(ctx, FALSE);
HashTable_Clear(ctx->rgSCardContextList);
return TRUE;
}