summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-04 15:53:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-05 11:45:18 +0100
commitaaa286e48a96dc7bcedcefb9aa33cc738d571df4 (patch)
tree6663597eb3aa4e8e9438d73c67eddf2d59cd7988 /bitbake
parent175e5f27021f84b0c567f7dda15fa229eaaa95f9 (diff)
downloadpoky-aaa286e48a96dc7bcedcefb9aa33cc738d571df4.tar.gz
bitbake: cooker: Ensure parser replacement calls parser final_cleanup
This could potentialy account for some of the missing thread cleanup we're seeing. (Bitbake rev: 8f2d690428de8934868b406b79c4699a8ebe902c) 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 a85e3587fd..eb0ed7878e 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1563,6 +1563,7 @@ class BBCooker:
1563 if self.state in (state.shutdown, state.forceshutdown, state.error): 1563 if self.state in (state.shutdown, state.forceshutdown, state.error):
1564 if hasattr(self.parser, 'shutdown'): 1564 if hasattr(self.parser, 'shutdown'):
1565 self.parser.shutdown(clean=False, force = True) 1565 self.parser.shutdown(clean=False, force = True)
1566 self.parser.final_cleanup()
1566 raise bb.BBHandledException() 1567 raise bb.BBHandledException()
1567 1568
1568 if self.state != state.parsing: 1569 if self.state != state.parsing: