commit | de8cdd3fce16da3364dd4185ddc349bce962b8ae | [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 | 8435db718ac15d876a6d8d463ee1b8d6ce24a672 | |
parent | 024d763499365e36c1381d6bf93fbd38cd709367 [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