Using freerdp_channels_disconnect now.

This commit is contained in:
Armin Novak 2015-01-20 11:24:36 +01:00
parent 817c5a1a17
commit c935b4390e

View File

@ -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);