aboutsummaryrefslogtreecommitdiffstats
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:10 +0100
commit8f2d690428de8934868b406b79c4699a8ebe902c (patch)
treee9f8c107c93adccc6710fc308f834b94cecab316
parentb100d22ce37b7548b50e59a71802bcc903acd6ea (diff)
downloadbitbake-8f2d690428de8934868b406b79c4699a8ebe902c.tar.gz
cooker: Ensure parser replacement calls parser final_cleanup
This could potentialy account for some of the missing thread cleanup we're seeing. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/cooker.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index a85e3587f..eb0ed7878 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1563,6 +1563,7 @@ class BBCooker:
if self.state in (state.shutdown, state.forceshutdown, state.error):
if hasattr(self.parser, 'shutdown'):
self.parser.shutdown(clean=False, force = True)
+ self.parser.final_cleanup()
raise bb.BBHandledException()
if self.state != state.parsing: