mirror of https://github.com/FreeRDP/FreeRDP
[core,client] prevent double channel close
reset clientDataCount on close.
This commit is contained in:
parent
95cae82af6
commit
e31acc048e
|
@ -822,6 +822,7 @@ void freerdp_channels_close(rdpChannels* channels, freerdp* instance)
|
||||||
|
|
||||||
channels->openDataCount = 0;
|
channels->openDataCount = 0;
|
||||||
channels->initDataCount = 0;
|
channels->initDataCount = 0;
|
||||||
|
channels->clientDataCount = 0;
|
||||||
|
|
||||||
WINPR_ASSERT(instance->context);
|
WINPR_ASSERT(instance->context);
|
||||||
WINPR_ASSERT(instance->context->settings);
|
WINPR_ASSERT(instance->context->settings);
|
||||||
|
|
Loading…
Reference in New Issue