commit | bf079fe015e3b2d966e111efc61728b6e6892ec3 | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Tue Apr 01 15:31:05 2014 +0200 |
committer | Sebastien Hertz <shertz@google.com> | Fri Apr 04 11:11:05 2014 +0200 |
tree | 43b61e0b303090830f0d6067c56f2ded18b2ca9d | |
parent | 6f31ce382777d82952d019908866ff28ef3bbc76 [diff] |
Fix crash when debugging exception Fixes a crash when detaching the debugger during an exception event. The cause is a concurrent modification of Instrumentation::exception_caught_listeners_ list (consequence of debugger being detached) while we loop over its elements. Workaround the issue by making a copy of the listeners list. Bug: 13738672 Change-Id: I56b84c5c8f31d6fbda1ba7cb35caeefc5e7ca60f