commit | eea5feac042e0920334e97fa2236bf6eebbe9ca9 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Mar 10 11:19:48 2017 -0800 |
committer | Josh Gao <jmgao@google.com> | Fri Mar 10 11:24:37 2017 -0800 |
tree | 819c3487d682e5b3cc6f9cbd47c3f25c509dd034 | |
parent | 9611547ed67f14995bd3931904f97dc6a388ec7e [diff] |
adb: properly erase destroyed jdwp_trackers. std::remove_if moves to-be-removed elements to the end of the vector and returns an iterator that must be .erased. Bug: http://b/35772578 Test: mma Change-Id: Idfe8520e176204ac5ce000c30704873a3ffe6c9c