Skip to content

Commit c4cf47f

Browse files
authored
Merge pull request #1451 from ahoppen/cancel-request-handling
Return after handling a `CancelRequestNotification`
2 parents f825d9c + 8c62fb5 commit c4cf47f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SourceKitLSP/SourceKitLSPServer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ extension SourceKitLSPServer: MessageHandler {
551551
// are currently handling. Ordering is not important here. We thus don't
552552
// need to execute it on `messageHandlingQueue`.
553553
self.cancelRequest(params)
554+
return
554555
}
555556

556557
let signposter = Logger(subsystem: LoggingScope.subsystem, category: "message-handling")

0 commit comments

Comments
 (0)