Created by: diego-gomez-olvera
I got a crash:
java.util.ConcurrentModificationException at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573) at com.koushikdutta.async.http.AsyncHttpClient.executeAffinity(AsyncHttpClient.java:221) at com.koushikdutta.async.http.AsyncHttpClient.access$100(AsyncHttpClient.java:50) at com.koushikdutta.async.http.AsyncHttpClient$1.run(AsyncHttpClient.java:189) at com.koushikdutta.async.AsyncServer.lockAndRunQueue(AsyncServer.java:708) at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:725) at com.koushikdutta.async.AsyncServer.run(AsyncServer.java:626) at com.koushikdutta.async.AsyncServer.access$700(AsyncServer.java:41) at com.koushikdutta.async.AsyncServer$13.run(AsyncServer.java:568)
That seems to be related with the lack of synchronisation adding a new item to mMiddleware