All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cooker: Ensure parser is cleaned up
@ 2020-09-05 10:54 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2020-09-05 10:54 UTC (permalink / raw
  To: bitbake-devel

During cooker shutdown, its possible the parser isn't cleaned up. Fix
this (which may partially explain why threads were left hanging around
at exit).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/cooker.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 30d7278505..d6c8e21570 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1674,6 +1674,7 @@ class BBCooker:
         return
 
     def post_serve(self):
+        self.shutdown(force=True)
         prserv.serv.auto_shutdown()
         if self.hashserv:
             self.hashserv.process.terminate()
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-05 10:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-05 10:54 [PATCH] cooker: Ensure parser is cleaned up Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.