mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
scripts/pkgbuilder.py: fix failure to queue jobs to idle slots due to race
This commit is contained in:
parent
d8e11007fe
commit
50e6f13896
@ -363,8 +363,7 @@ class Builder:
|
||||
# Return False once all jobs have been queued, and finished building.
|
||||
def queueWork(self):
|
||||
try:
|
||||
for process in self.processes:
|
||||
if not process.isActive():
|
||||
for i in range(self.generator.activeJobCount(), self.threadcount):
|
||||
job = self.generator.getNextJob()
|
||||
|
||||
if self.verbose:
|
||||
|
Loading…
x
Reference in New Issue
Block a user