1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-06-27 23:52:53 +00:00
Profpatsch a8da9946d1 PlayerUiList: guard list actions with mutex
The new implementation would throw `ConcurrentModificationExceptions`
when destroying the UIs. So let’s play it safe and put the list behind
a mutex.

Adds a helper class `GuardedByMutex` that can be wrapped around a
property to force all use-sites to acquire the lock before doing
anything with the data.
2025-05-11 15:23:03 +02:00
..
2025-05-08 15:34:00 +02:00