mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
bitbake: command: Tweak finishAsyncCommand ordering to avoid races
(Bitbake rev: 89435442946767cfe58eedde363802add8f1ab29) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -152,8 +152,8 @@ class Command:
|
|||||||
bb.event.fire(CommandExit(code), self.cooker.data)
|
bb.event.fire(CommandExit(code), self.cooker.data)
|
||||||
else:
|
else:
|
||||||
bb.event.fire(CommandCompleted(), self.cooker.data)
|
bb.event.fire(CommandCompleted(), self.cooker.data)
|
||||||
self.currentAsyncCommand = None
|
|
||||||
self.cooker.finishcommand()
|
self.cooker.finishcommand()
|
||||||
|
self.currentAsyncCommand = None
|
||||||
|
|
||||||
def reset(self):
|
def reset(self):
|
||||||
if self.remotedatastores:
|
if self.remotedatastores:
|
||||||
|
|||||||
Reference in New Issue
Block a user