We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ad1ddd + f7ab6c5 commit 12c225cCopy full SHA for 12c225c
Sources/SourceKitLSP/SourceKitLSPServer.swift
@@ -1181,6 +1181,8 @@ extension SourceKitLSPServer {
1181
await workspace.buildSystemManager.setMainFilesProvider(nil)
1182
workspace.closeIndex()
1183
}
1184
+ // Make sure we emit all pending log messages. When we're not using `NonDarwinLogger` this is a no-op.
1185
+ await NonDarwinLogger.flush()
1186
1187
1188
func shutdown(_ request: ShutdownRequest) async throws -> ShutdownRequest.Response {
0 commit comments