commit | df13240f4b9325b34d09e20cdac4e9a0b12ead61 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Fri Sep 29 12:54:33 2017 -0700 |
committer | Alex Light <allight@google.com> | Fri Sep 29 13:09:58 2017 -0700 |
tree | ed2e646165904d2e8c15210ddc84bfd98b8c8d9f | |
parent | 05727c50c8c329d03692ffe51dce453c54379d70 [diff] |
Send ThreadEnd after clearing ThreadGroup. The removal of a thread from it's thread group does cause managed code to execute so it could cause additional events to trigger in agents, potentially causing deadlocks. This changes where the event is triggered to put it after the thread has been removed from its group. Test: ./test.py --host -j50 Bug: 67104807 Change-Id: I53f53b2823835a9629842fb5c22079b3e42042d5