]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
server: ensure the cooker is stopped when shutting down
authorChris Larson <chris_larson@mentor.com>
Thu, 16 Dec 2010 15:50:31 +0000 (08:50 -0700)
committerChris Larson <chris_larson@mentor.com>
Thu, 16 Dec 2010 17:39:28 +0000 (10:39 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/server/process.py

index 12e099a9546401018b5f9733d7c47d73f6fa679f..77ef6adb5bd1f376a532a358ffe907b8ce047bb3 100644 (file)
@@ -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