Skip to contentSkip to conversation

cooker: Ensure parser is cleaned up

PATCH New Richard Purdie 1 participant 1 message Sep 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cooker: Ensure parser is cleaned up

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).

---
 lib/bb/cooker.py | 1 +
 1 file changed, 1 insertion(+)
lib/bb/cooker.py +1 -0
index 30d7278505..d6c8e21570 100644
@@ -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()
Signature · 1 line
2.25.1