1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00

bitbake: cooker: Avoid tracebacks if data was never setup

Recent changes mean data might not be setup. If its not, avoid tracebacks.

(Bitbake rev: 3daff610d9f39d73c80c54d1df46f573666e20db)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2020-10-01 21:16:12 +01:00
parent afb863afc3
commit 2607799cfb
+2 -1
View File
@@ -1679,7 +1679,8 @@ class BBCooker:
if self.hashserv:
self.hashserv.process.terminate()
self.hashserv.process.join()
bb.event.fire(CookerExit(), self.data)
if hasattr(self, "data"):
bb.event.fire(CookerExit(), self.data)
def shutdown(self, force = False):
if force: