On Mon, 22 Apr 2024 15:05:07 GMT, n-gabe wrote:
>> There is a ConcurrentModificationException in MediaPlayer when removing a
>> MediaView from it. The root cause is that you can't iterate over a HashSet
>> with for (WeakReference vref : viewRefs) and removing items from
>> the collection by vi
On Mon, 22 Apr 2024 15:05:07 GMT, n-gabe wrote:
>> There is a ConcurrentModificationException in MediaPlayer when removing a
>> MediaView from it. The root cause is that you can't iterate over a HashSet
>> with for (WeakReference vref : viewRefs) and removing items from
>> the collection by vi
> There is a ConcurrentModificationException in MediaPlayer when removing a
> MediaView from it. The root cause is that you can't iterate over a HashSet
> with for (WeakReference vref : viewRefs) and removing items from
> the collection by viewRefs.remove(vref); within this loop.
n-gabe has upd