[channels,warnings] properly handle function return

This commit is contained in:
Armin Novak
2026-02-16 08:16:58 +01:00
parent e0e6a7f800
commit bf99266c2e
16 changed files with 115 additions and 41 deletions

View File

@@ -514,9 +514,7 @@ static UINT dvcman_channel_close(DVCMAN_CHANNEL* channel, BOOL perRequest, BOOL
IWTSVirtualChannelCallback* cb = channel->channel_callback;
channel->channel_callback = NULL;
if (cb)
{
IFCALL(cb->OnClose, cb);
}
error = IFCALLRESULT(CHANNEL_RC_OK, cb->OnClose, cb);
}
if (channel->dvcman && channel->dvcman->drdynvc)