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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user