mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-13 01:16:46 -04:00
fix infinite loading when skipping audio
This commit is contained in:
parent
846d43cd76
commit
bda20c1361
@ -40,6 +40,7 @@ class Rendering(private val connection: PlayConnection) {
|
|||||||
|
|
||||||
private fun startAudioPlayerThread(latch: AbstractLatch) {
|
private fun startAudioPlayerThread(latch: AbstractLatch) {
|
||||||
if (connection.profiles.audio.skipLoading) {
|
if (connection.profiles.audio.skipLoading) {
|
||||||
|
latch.dec()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
val audioLatch = ParentLatch(1, latch)
|
val audioLatch = ParentLatch(1, latch)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user