mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 01:36:38 +01:00
bitbake: cooker: Ensure commands clean up any parser processes
When finishing a command, we need to ensure any parsing processes that may have been started are cleaned up before we reset the cooker state. (Bitbake rev: 6569ab64bea35de21acc89053ba76e2828163f3f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1768,6 +1768,9 @@ class BBCooker:
|
||||
self.parser.final_cleanup()
|
||||
|
||||
def finishcommand(self):
|
||||
if hasattr(self.parser, 'shutdown'):
|
||||
self.parser.shutdown(clean=False)
|
||||
self.parser.final_cleanup()
|
||||
self.state = state.initial
|
||||
|
||||
def reset(self):
|
||||
|
||||
Reference in New Issue
Block a user