From: Chris Larson Date: Thu, 16 Dec 2010 15:50:31 +0000 (-0700) Subject: server: ensure the cooker is stopped when shutting down X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20eb69cfc69a9af00cc65e7e90c295e46f74a0d4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git server: ensure the cooker is stopped when shutting down Signed-off-by: Chris Larson --- diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py index 12e099a9546..77ef6adb5bd 100644 --- a/lib/bb/server/process.py +++ b/lib/bb/server/process.py @@ -114,6 +114,8 @@ class ProcessServer(Process): self.event_queue.cancel_join_thread() bb.event.unregister_UIHhandler(self.event_handle) self.command_channel.close() + self.cooker.stop() + self.idle_commands(.1) def idle_commands(self, delay): nextsleep = delay