diff options
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
| -rw-r--r-- | bitbake/lib/bb/runqueue.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index d4b2cd49aa..f1883d78fe 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
| @@ -779,6 +779,8 @@ class RunQueue: | |||
| 779 | # For disk space monitor | 779 | # For disk space monitor |
| 780 | self.dm = monitordisk.diskMonitor(cfgData) | 780 | self.dm = monitordisk.diskMonitor(cfgData) |
| 781 | 781 | ||
| 782 | self.rqexe = None | ||
| 783 | |||
| 782 | def check_stamps(self): | 784 | def check_stamps(self): |
| 783 | unchecked = {} | 785 | unchecked = {} |
| 784 | current = [] | 786 | current = [] |
| @@ -996,6 +998,9 @@ class RunQueue: | |||
| 996 | return retval | 998 | return retval |
| 997 | 999 | ||
| 998 | def finish_runqueue(self, now = False): | 1000 | def finish_runqueue(self, now = False): |
| 1001 | if not self.rqexe: | ||
| 1002 | return | ||
| 1003 | |||
| 999 | if now: | 1004 | if now: |
| 1000 | self.rqexe.finish_now() | 1005 | self.rqexe.finish_now() |
| 1001 | else: | 1006 | else: |
