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.
NonDarwinLogger
SourceKitLSPServer
1 parent bb699c9 commit f7ab6c5Copy full SHA for f7ab6c5
Sources/SourceKitLSP/SourceKitLSPServer.swift
@@ -1158,6 +1158,8 @@ extension SourceKitLSPServer {
1158
await workspace.buildSystemManager.setMainFilesProvider(nil)
1159
workspace.closeIndex()
1160
}
1161
+ // Make sure we emit all pending log messages. When we're not using `NonDarwinLogger` this is a no-op.
1162
+ await NonDarwinLogger.flush()
1163
1164
1165
func shutdown(_ request: ShutdownRequest) async throws -> ShutdownRequest.Response {
0 commit comments