mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 16:34:18 +09:00
[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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user