Skip to content

MediaGroupViewModel: fix concurrency

Felix Paul Kühne requested to merge fkuehne/vlc-ios:concurrency into master

The files array is being accessed from N number of threads to add, move or remove content, which is leading to crashes within the swift runtime.

This MR proposes locking on the array to avoid this.

Merge request reports

Loading