[channels,drdynvc] ignore thread priority failures

If the thread priority of the dynamic channel can not be adjusted treat
this as warning and not as fatal error.
This commit is contained in:
akallabeth 2024-07-08 12:21:02 +02:00
parent 642fe362b2
commit 20c3fc327f
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -1727,11 +1727,7 @@ static UINT drdynvc_virtual_channel_event_connected(drdynvcPlugin* drdynvc, LPVO
}
if (!SetThreadPriority(drdynvc->thread, THREAD_PRIORITY_HIGHEST))
{
error = ERROR_INTERNAL_ERROR;
WLog_Print(drdynvc->log, WLOG_ERROR, "SetThreadPriority failed!");
goto error;
}
WLog_Print(drdynvc->log, WLOG_WARN, "SetThreadPriority failed, ignoring.");
}
error: