mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
win, clipboard wait timeout, debug
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
@@ -1497,9 +1497,13 @@ UINT wait_response_event(wfClipboard *clipboard, HANDLE event, void **data)
|
||||
msg.details = NULL;
|
||||
clipboard->context->NotifyClipboardMsg(&msg);
|
||||
rc = ERROR_INTERNAL_ERROR;
|
||||
}
|
||||
|
||||
if ((*data) != NULL)
|
||||
if (!ResetEvent(event))
|
||||
{
|
||||
// NOTE: critical error here, crash may be better
|
||||
}
|
||||
}
|
||||
else if ((*data) != NULL)
|
||||
{
|
||||
if (!ResetEvent(event))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user