Sadwhy 2024-12-16 12:07:42 +06:00 committed by GitHub
parent b04a176870
commit 01a64c25fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,7 +153,7 @@ abstract class Installer(private val service: Service) {
} }
val nextEntry = queue.first() val nextEntry = queue.first()
if (waitingInstall.compareAndSet(null, nextEntry)) { if (waitingInstall.compareAndSet(null, nextEntry)) {
queue.removeFirst() queue.removeAt(0)
processEntry(nextEntry) processEntry(nextEntry)
} }
} }