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:
baldurk
2018-02-13 21:08:28 +00:00
parent 2f73ed373b
commit 60324e7e38
+1
View File
@@ -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())
{