Merge pull request #10363 from akallabeth/relax_thread_prio_fail

[channels,drdynvc] ignore thread priority failures
This commit is contained in:
Martin Fleisz 2024-07-08 12:40:27 +02:00 committed by GitHub
commit 8fc12f9653
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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: