[core,client] prevent double channel close

reset clientDataCount on close.
This commit is contained in:
akallabeth
2024-03-12 13:26:30 +01:00
committed by Martin Fleisz
parent 95cae82af6
commit e31acc048e

View File

@@ -822,6 +822,7 @@ void freerdp_channels_close(rdpChannels* channels, freerdp* instance)
channels->openDataCount = 0;
channels->initDataCount = 0;
channels->clientDataCount = 0;
WINPR_ASSERT(instance->context);
WINPR_ASSERT(instance->context->settings);