owt-client-android
owt-client-android copied to clipboard
[P2P] ConcurrentModificationException
Multiple times of publish, stop and publish will cause this exception.
11-15 15:22:42.591 31033-32587/oms.sample.p2p E/AndroidRuntime: FATAL EXCEPTION: pool-37-thread-1 Process: oms.sample.p2p, PID: 31033 java.util.ConcurrentModificationException at java.util.LinkedList$LinkIterator.next(LinkedList.java:124) at oms.base.PeerConnectionChannel.drainRemoteCandidates(PeerConnectionChannel.java:165) at oms.p2p.P2PPeerConnectionChannel.lambda$onSetSuccess$13$P2PPeerConnectionChannel(P2PPeerConnectionChannel.java:361) at oms.p2p.P2PPeerConnectionChannel$$Lambda$6.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)