There is no point in waiting 0.25s for when we should be processing
the shutdown. This simply reordering removes latency from the
bitbake command.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
try:
event = eventHandler.waitEvent(0)
if event is None:
+ if main.shutdown > 1:
+ break
termfilter.updateFooter()
event = eventHandler.waitEvent(0.25)
if event is None:
- if main.shutdown > 1:
- break
continue
helper.eventHandler(event)
if isinstance(event, bb.runqueue.runQueueExitWait):