knotty: Remove latency when exiting
PATCH 1/1 knotty: Remove latency when exiting
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 <[email protected]>
---
bitbake/lib/bb/ui/knotty.py +2 -2
@@ -310,11 +310,11 @@ def main(server, eventHandler, params, tf = TerminalFilter): 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):