commit | 738c4c909c7668bc80b0d12f9b818061115e5c6f | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Wed Sep 02 14:30:13 2015 +0200 |
committer | Sebastien Hertz <shertz@google.com> | Wed Sep 02 16:30:08 2015 +0200 |
tree | a19155f7c07968448509fc3311dfc7ae29f42f1d | |
parent | c26b4512a01d46756683a4f5e186a0b7f397f251 [diff] |
JDWP: attempt to fix failure on closed connection Don't send packet if JDWP connection has been closed while processing a JDWP command. We used to DCHECK(IsConnected()) in JdwpNetStateBase::WritePacket but this is wrong when the connection has been closed by the debugger (client) before we sent the packet. It seems to happen more during JDWP tests due to how debugger and debuggee are synchronizing with each other. Bug: 22907762 Change-Id: I1c886382268697b4c50755b6009cceac7b8d656e