commit | 409a2404624ab643c99ae4f8857e9d0b9c2da448 | [log] [tgz] |
---|---|---|
author | Felix Oghina <hackz@google.com> | Fri Sep 22 09:36:59 2023 +0000 |
committer | Felix Oghina <hackz@google.com> | Fri Sep 22 09:36:59 2023 +0000 |
tree | 5111730b8be2d72e4ff3a841d2fb63b5bf43f8f1 | |
parent | cacb0bf1f4059e3219abd4fd64563d3303ca53d2 [diff] |
[speech] copy client list to prevent concurrency Calling removeClient modified the underlying map, resulting in a ConcurrentModificationException. Copy the list of clients before iterating through. Bug: 278168500 Test: cts Change-Id: I3759e94a45bb5957e4457272d32efed34dc67e21