diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-31 16:51:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-01 23:12:42 +0100 |
commit | 42ff9de77f24e2a0bec48a14b64c4b538e00b4af (patch) | |
tree | c6c1e652c0be845e6e2df7e02de128059d945dc7 | |
parent | 951942c3c284ec2c62e730e145688033190af9b2 (diff) | |
download | bitbake-42ff9de77f24e2a0bec48a14b64c4b538e00b4af.tar.gz |
cooker: Ensure any existing hashserv connection is closed
Ensure any exiting hash server connection is terminated before we start
a new bitbake session. This avoids errors seen with memory resident bitbake
when the asyncio event loop isn't closed correctly.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/cooker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 0d29aa03a..d100b96f5 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -1766,6 +1766,8 @@ class BBCooker: self.state = state.initial def reset(self): + if hasattr(bb.parse, "siggen"): + bb.parse.siggen.exit() self.initConfigurationData() self.handlePRServ() |