build: fix cleanup issues

This commit is contained in:
Alexander Capehart
2026-08-29 17:46:28 -06:00
parent df2e3852b4
commit 9de8b90b7a
4 changed files with 9 additions and 8 deletions
@@ -56,7 +56,7 @@ private constructor(
@OptIn(ExperimentalCoroutinesApi::class)
override suspend fun explore(files: Channel<File>): Deferred<Result<Unit>> = coroutineScope {
tryAsyncWith(files, Dispatchers.IO) { _ ->
tryAsyncWith(files, Dispatchers.IO) { channel ->
val projection = BASE_PROJECTION + pathInterpreterFactory.projection
var selector = BASE_SELECTOR
val args = mutableListOf<String>()
@@ -133,7 +133,7 @@ private constructor(
)
allFiles.add(deviceFile)
it.send(deviceFile)
channel.send(deviceFile)
}
}
}
@@ -61,7 +61,7 @@ internal data class MusicGraph(
appendLine(" node [style=filled,fillcolor=lightblue];")
songVertex.forEachIndexed { index, song ->
val songId = "song_$index"
val name = song.preSong.rawName ?: "Unknown Song"
val name = song.preSong.rawName
val uid = song.preSong.v401Uid
val label = "${escape(name)}\\nUID: $uid"
appendLine(" $songId [label=\"$label\"];")