mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-15 08:45:04 +01:00
"endPeerConnection()" removes the item from the list, so neither a for-each loop nor an iterator can be used to traverse the list (as a "ConcurrentModificationException" would be thrown). To solve that now the list of connections is first traversed to get all the sessions, and then the list of sessions is traversed to end the connections. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> |
||
---|---|---|
.. | ||
androidTest/java/com/nextcloud/talk | ||
generic | ||
gplay | ||
main | ||
qa | ||
test |