summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-29 16:41:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-31 17:05:17 +0000
commit4895e78234afb9dc4d41fd5c26e064efeabbb7b6 (patch)
treea9d62b4e31870017ddc75d806a381938f660877c /bitbake/lib/bb/command.py
parent7723baafa6bad43d9c8abd7c8aeacdf747361cfb (diff)
downloadpoky-4895e78234afb9dc4d41fd5c26e064efeabbb7b6.tar.gz
bitbake: command: Tweak finishAsyncCommand ordering to avoid races
(Bitbake rev: 89435442946767cfe58eedde363802add8f1ab29) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 0208e30ec4..cbac07f516 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -152,8 +152,8 @@ class Command:
152 bb.event.fire(CommandExit(code), self.cooker.data) 152 bb.event.fire(CommandExit(code), self.cooker.data)
153 else: 153 else:
154 bb.event.fire(CommandCompleted(), self.cooker.data) 154 bb.event.fire(CommandCompleted(), self.cooker.data)
155 self.currentAsyncCommand = None
156 self.cooker.finishcommand() 155 self.cooker.finishcommand()
156 self.currentAsyncCommand = None
157 157
158 def reset(self): 158 def reset(self):
159 if self.remotedatastores: 159 if self.remotedatastores: