summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/cooker.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 6a1b649f79..479dc5a114 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1361,8 +1361,10 @@ class BBCooker:
1361 return False 1361 return False
1362 1362
1363 if not retval: 1363 if not retval:
1364 bb.event.fire(bb.event.BuildCompleted(len(rq.rqdata.runtaskentries), buildname, targets, failures, interrupted), self.data) 1364 try:
1365 self.command.finishAsyncCommand(msg) 1365 bb.event.fire(bb.event.BuildCompleted(len(rq.rqdata.runtaskentries), buildname, targets, failures, interrupted), self.data)
1366 finally:
1367 self.command.finishAsyncCommand(msg)
1366 return False 1368 return False
1367 if retval is True: 1369 if retval is True:
1368 return True 1370 return True