mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
`QueueViewModelTest` read `viewModel.rows` (a `mutableStateListOf` mutated on the main dispatcher) from the test thread, racing the view model: CI saw `ConcurrentModificationException` in `removingWhileShuffledReconcilesTheRows` and a torn read in `removingATrackUnderTheBlockReloadsRows`. Copy the rows on the dispatcher via a `rowsSnapshot()` helper before asserting.