mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Shut down active client properly when killing remote server
This commit is contained in:
@@ -676,8 +676,10 @@ void RenderDoc::BecomeRemoteServer(const char *listenhost, uint16_t port, volati
|
||||
}
|
||||
}
|
||||
|
||||
if(activeClientData && activeClientData->socket == NULL)
|
||||
if(activeClientData && activeClientData->socket != NULL)
|
||||
{
|
||||
activeClientData->killThread = true;
|
||||
|
||||
Threading::JoinThread(activeClientData->thread);
|
||||
Threading::CloseThread(activeClientData->thread);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user