summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-09 17:57:11 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-10 11:10:01 -0700
commita445e03d8b89e900319a5d4f9477f9e3383f5be1 (patch)
tree2cf79350c2c77c8c34eef2bad249e8038295b3f6 /bitbake/lib
parent75b9f93638994e15a7a78285b6898d4f33cf6db7 (diff)
downloadpoky-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>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/knotty.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 14bdb378d5..55cf50735c 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):
310 try: 310 try:
311 event = eventHandler.waitEvent(0) 311 event = eventHandler.waitEvent(0)
312 if event is None: 312 if event is None:
313 if main.shutdown > 1:
314 break
313 termfilter.updateFooter() 315 termfilter.updateFooter()
314 event = eventHandler.waitEvent(0.25) 316 event = eventHandler.waitEvent(0.25)
315 if event is None: 317 if event is None:
316 if main.shutdown > 1:
317 break
318 continue 318 continue
319 helper.eventHandler(event) 319 helper.eventHandler(event)
320 if isinstance(event, bb.runqueue.runQueueExitWait): 320 if isinstance(event, bb.runqueue.runQueueExitWait):