Using freerdp_channels_disconnect now.
This commit is contained in:
parent
817c5a1a17
commit
c935b4390e
@ -245,6 +245,9 @@ int wlfreerdp_run(freerdp* instance)
|
|||||||
wlf_DestroyInput(context, context->input);
|
wlf_DestroyInput(context, context->input);
|
||||||
wlf_DestroyDisplay(context, context->display);
|
wlf_DestroyDisplay(context, context->display);
|
||||||
|
|
||||||
|
freerdp_channels_disconnect(instance->context->channels, instance);
|
||||||
|
freerdp_disconnect(instance);
|
||||||
|
|
||||||
freerdp_channels_close(instance->context->channels, instance);
|
freerdp_channels_close(instance->context->channels, instance);
|
||||||
freerdp_channels_free(instance->context->channels);
|
freerdp_channels_free(instance->context->channels);
|
||||||
freerdp_free(instance);
|
freerdp_free(instance);
|
||||||
|
Loading…
Reference in New Issue
Block a user