[bitbake-devel] server/process: Drop unnecessary exit delay

Submitted by Richard Purdie on March 10, 2014, 12:58 a.m.

Details

Message ID 1394413116.7883.20.camel@ted
State New
Headers show

Commit Message

Richard Purdie March 10, 2014, 12:58 a.m.
When the server exits, we no longer appear to need this delay. This
is likely due to improvements in the various exit codepaths. There
is therefore no longer any point in taking the latency hit.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 386294f..07688a2 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -119,7 +119,6 @@  class ProcessServer(Process, BaseImplServer):
         bb.event.unregister_UIHhandler(self.event_handle.value)
         self.command_channel.close()
         self.cooker.shutdown(True)
-        self.idle_commands(.1)
 
     def idle_commands(self, delay, fds = []):
         nextsleep = delay