Skip to content

Commit cf40be7

Browse files
authored
Merge pull request swiftlang#307 from compnerd/deadlock-5.5
[5.5] SwiftSyntax: avoid a possible deadlock situtation
2 parents 9cfdc1e + fe1dede commit cf40be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftSyntax/DiagnosticEngine.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public class DiagnosticEngine {
9595

9696
/// Tells each consumer to finalize their diagnostic output.
9797
deinit {
98-
for consumer in consumers {
98+
for consumer in _consumers {
9999
consumer.finalize()
100100
}
101101
}

0 commit comments

Comments
 (0)