File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/SwiftDriverExecution Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ class ExecuteJobRule: LLBuildRule {
523
523
}
524
524
525
525
// Inform the delegate.
526
- context. delegateQueue. async {
526
+ context. delegateQueue. sync {
527
527
context. executorDelegate. jobStarted ( job: job, arguments: arguments, pid: pid)
528
528
knownPId. insert ( pid)
529
529
}
@@ -549,7 +549,7 @@ class ExecuteJobRule: LLBuildRule {
549
549
}
550
550
551
551
// Inform the delegate about job finishing.
552
- context. delegateQueue. async {
552
+ context. delegateQueue. sync {
553
553
context. executorDelegate. jobFinished ( job: job, result: result, pid: pid)
554
554
}
555
555
context. cancelBuildIfNeeded ( result)
@@ -564,7 +564,7 @@ class ExecuteJobRule: LLBuildRule {
564
564
// Only inform finished job if the job has been started, otherwise the build
565
565
// system may complain about malformed output
566
566
if ( knownPId. contains ( pid) ) {
567
- context. delegateQueue. async {
567
+ context. delegateQueue. sync {
568
568
let result = ProcessResult (
569
569
arguments: [ ] ,
570
570
environment: env,
You can’t perform that action at this time.
0 commit comments