Loops on copy of parent checklist to prevent ConcurrentModificationException.
This commit is contained in:
parent
f0cb093ff3
commit
8cfe630e79
@ -643,7 +643,8 @@ class ConnectivityCheckClient
|
||||
|
||||
synchronized(this)
|
||||
{
|
||||
CheckList parentCheckList = parentStream.getCheckList();
|
||||
Vector<CandidatePair> parentCheckList
|
||||
= new Vector<CandidatePair>(parentStream.getCheckList());
|
||||
|
||||
for(CandidatePair pair : parentCheckList)
|
||||
if ((pair.getState() == CandidatePairState.FROZEN) &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user