Fix assertion failure after early build setup failure
This commit is contained in:
parent
a5f2750ebb
commit
0babc4ff31
1 changed files with 1 additions and 1 deletions
|
@ -3466,7 +3466,7 @@ void Worker::childTerminated(Goal * goal, bool wakeSleepers)
|
||||||
{
|
{
|
||||||
auto i = std::find_if(children.begin(), children.end(),
|
auto i = std::find_if(children.begin(), children.end(),
|
||||||
[&](const Child & child) { return child.goal2 == goal; });
|
[&](const Child & child) { return child.goal2 == goal; });
|
||||||
assert(i != children.end());
|
if (i == children.end()) return;
|
||||||
|
|
||||||
if (i->inBuildSlot) {
|
if (i->inBuildSlot) {
|
||||||
assert(nrLocalBuilds > 0);
|
assert(nrLocalBuilds > 0);
|
||||||
|
|
Loading…
Reference in a new issue