Closed MrStahlfelge closed 3 years ago
Hey there @MrStahlfelge !
I had the same problem and realized the Socket IO Thread was modifying a variable which wasn't thread-safe and which was being called in libGDX's render()
method (i.e. my UI Thread).
I changed the data structure used for that variable to something thread-safe and it stopped throwing that Exception. For example:
public List<Float> pingData = Collections.synchronizedList(new ArrayList<>());
Thanks for this great library.
I have this crash report sometimes in my crash logs:
I don't know when it happens, as I didn't faced it myself. But it happens often enough, and on a lot of different devices, so it is definitely no one-time problem.