commit | 0376e6b62bfb43b515b791f0a7afed2d0d8030bc | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Thu Feb 06 18:12:59 2014 +0100 |
committer | Sebastien Hertz <shertz@google.com> | Thu Feb 06 18:13:54 2014 +0100 |
tree | 776dc23a8313dac196ac485975aa6d8f228d7756 | |
parent | 78c0bb9bc0668be07baa0bde1e82a475a0ac1f86 [diff] |
Fix JDWP thread crash. Fix a crash happenning when JDWP thread attempts to process incoming packets from a closed socket. It happens when the runtime shuts down while JDWP thread is still running and waiting for incoming JDWP packets. When we close the JDWP connection from runtime destructor, we wake up the JDWP thread. To avoid this, we call Dbg::Dispose before closing the connection. Bug: 12578041 Change-Id: I8d03478b6c3f5f49e08899d476f292b7a401d5f3