Add over 2000 links to queue download.
Use downloadDispatcher.setMaxParallelRunningCount(256);
Then call OkDownload.with().downloadDispatcher().cancelAll() when downloading.
Log
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.next(ArrayList.java:860)
at com.liulishuo.okdownload.core.dispatcher.DownloadDispatcher.cancelAll(DownloadDispatcher.java:187)
OkDownload Version
v1.0.7
Problem Describe
Add over 2000 links to queue download. Use downloadDispatcher.setMaxParallelRunningCount(256); Then call OkDownload.with().downloadDispatcher().cancelAll() when downloading.
Log