diff --git a/libfreerdp/core/utils.c b/libfreerdp/core/utils.c index 1c3ff93a6..96d0cd03a 100644 --- a/libfreerdp/core/utils.c +++ b/libfreerdp/core/utils.c @@ -496,6 +496,7 @@ BOOL utils_reload_channels(rdpContext* context) freerdp_channels_free(context->channels); context->channels = freerdp_channels_new(context->instance); WINPR_ASSERT(context->channels); + freerdp_channels_register_instance(context->channels, context->instance); BOOL rc = TRUE; IFCALLRET(context->instance->LoadChannels, rc, context->instance);