Remove failed redirected device from list
This commit is contained in:
parent
223da39eac
commit
b598a7b2a3
@ -1565,6 +1565,9 @@ static UINT rdpdr_process_receive(rdpdrPlugin* rdpdr, wStream* s)
|
||||
{
|
||||
Stream_Read_UINT32(s, deviceId);
|
||||
Stream_Read_UINT32(s, status);
|
||||
|
||||
if (status != 0)
|
||||
devman_unregister_device(rdpdr->devman, (void*)((size_t)deviceId));
|
||||
error = CHANNEL_RC_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user