diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-05 11:53:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-06 09:58:45 +0100 |
commit | 928609f30f3a20aaa2f88afc18044a4e10199488 (patch) | |
tree | 7014bfa22cbffab4f117faca00d79c6ecc0e8c4a /lib/bb/cooker.py | |
parent | 56285ada585ec1481449522282b335bcb5a2671e (diff) | |
download | bitbake-928609f30f3a20aaa2f88afc18044a4e10199488.tar.gz |
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).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r-- | lib/bb/cooker.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 010105a60..e781ff8b3 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() |