On Thu, 22 Feb 2024 17:16:42 GMT, n-gabe <d...@openjdk.org> 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<MediaView> vref : viewRefs) and removing items from 
> the collection by viewRefs.remove(vref); within this loop.

Sure, done.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1377#issuecomment-2068067764

Reply via email to