fix infinite loading when skipping audio

This commit is contained in:
Moritz Zwerger 2023-11-18 17:46:56 +01:00
parent 846d43cd76
commit bda20c1361
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -40,6 +40,7 @@ class Rendering(private val connection: PlayConnection) {
private fun startAudioPlayerThread(latch: AbstractLatch) {
if (connection.profiles.audio.skipLoading) {
latch.dec()
return
}
val audioLatch = ParentLatch(1, latch)