diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-09 17:57:11 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-10 11:10:01 -0700 |
commit | a445e03d8b89e900319a5d4f9477f9e3383f5be1 (patch) | |
tree | 2cf79350c2c77c8c34eef2bad249e8038295b3f6 | |
parent | 75b9f93638994e15a7a78285b6898d4f33cf6db7 (diff) | |
download | ast2050-yocto-poky-a445e03d8b89e900319a5d4f9477f9e3383f5be1.zip ast2050-yocto-poky-a445e03d8b89e900319a5d4f9477f9e3383f5be1.tar.gz |
bitbake: 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.
(Bitbake rev: f147b41bcaf9d05b5ba3a70100f1ca799979aee7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 14bdb37..55cf507 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -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): |