Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit 9c46286

Browse files
committed
Potential crash in ParallelTask (Bug #283)
1 parent bc6fe41 commit 9c46286

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

project/core/tasks/ParallelTask.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,12 @@ protected override bool Execute(IIntegrationResult result)
221221
}
222222
}
223223

224-
// Tell everyone the task is done
225-
events[taskNumber].Set();
226224
tasksDetails[taskNumber].Finished = true;
227225
tasksDetails[taskNumber].ParentResult.BuildProgressInformation.UpdateStartupInformation(GetStatusInformation(tasksDetails[taskNumber]));
226+
227+
// Tell everyone the task is done
228+
events[taskNumber].Set();
229+
228230
}, loop);
229231

230232
}

0 commit comments

Comments
 (0)