mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-21 23:11:38 +00:00
Add an optional timeout to Socket::AcceptClient
* This is needed since sometimes on tests a localhost socket won't immediately be available to accept()
This commit is contained in:
@@ -377,7 +377,7 @@ void RenderDoc::TargetControlServerThread(Network::Socket *sock)
|
||||
|
||||
while(!RenderDoc::Inst().m_TargetControlThreadShutdown)
|
||||
{
|
||||
Network::Socket *client = sock->AcceptClient(false);
|
||||
Network::Socket *client = sock->AcceptClient(0);
|
||||
|
||||
if(client == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user