summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-05 11:53:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-06 09:58:50 +0100
commit0486b342feb71256bef2419ea8158d07a9d1d1bb (patch)
tree76cd9b50b528a576810f9337eaa401961a9424dc /bitbake
parent009d3590366288201b77defe85969d588bd5455d (diff)
downloadpoky-0486b342feb71256bef2419ea8158d07a9d1d1bb.tar.gz
bitbake: 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). (Bitbake rev: 928609f30f3a20aaa2f88afc18044a4e10199488) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 010105a60f..e781ff8b30 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1674,6 +1674,7 @@ class BBCooker:
1674 return 1674 return
1675 1675
1676 def post_serve(self): 1676 def post_serve(self):
1677 self.shutdown(force=True)
1677 prserv.serv.auto_shutdown() 1678 prserv.serv.auto_shutdown()
1678 if self.hashserv: 1679 if self.hashserv:
1679 self.hashserv.process.terminate() 1680 self.hashserv.process.terminate()