mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-16 15:00:47 +00:00
Add a small sleep into JDWP connection code to workaround JVM bugs
* It's unknown why this matters but on some android devices adding a small sleep prevents problems with JDWP replies not coming through.
This commit is contained in:
@@ -91,6 +91,7 @@ bool Connection::SendReceive(Command &cmd)
|
||||
// synchronous reply, no other commands in the way.
|
||||
uint32_t id = cmd.Send(writer);
|
||||
cmd.Recv(reader);
|
||||
Threading::Sleep(10);
|
||||
|
||||
if(id != cmd.GetID())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user