mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
033ac56cf1cd35d0580ab4ada01bdbeb1c091f8f
`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.
Languages
Kotlin
99.1%
Nushell
0.7%
Nix
0.1%