diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-15 12:00:32 -1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-19 17:06:18 +0100 |
commit | aa2c6a789aa883f504465b9203f2e76e5859e9eb (patch) | |
tree | 31f71a120736364a03a8656b4b3dd465395654bb /bitbake/lib | |
parent | 2dd1b9b305cbbc80eadb26e6c9ad0983c2a23555 (diff) | |
download | poky-aa2c6a789aa883f504465b9203f2e76e5859e9eb.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: fe1b57f4d39c287526353387e164c863eb9df421)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 8788457423..4d2c62cd96 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1636,6 +1636,7 @@ class BBCooker: | |||
1636 | return | 1636 | return |
1637 | 1637 | ||
1638 | def post_serve(self): | 1638 | def post_serve(self): |
1639 | self.shutdown(force=True) | ||
1639 | prserv.serv.auto_shutdown() | 1640 | prserv.serv.auto_shutdown() |
1640 | if self.hashserv: | 1641 | if self.hashserv: |
1641 | self.hashserv.process.terminate() | 1642 | self.hashserv.process.terminate() |