-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Revert a change in daab801. This was wrong; it could bubble an OCEx up in parts of the public API that are not expected to do so. * JsonRpcConnection: Remove some unnecessary async/await churn. Both channels used here are unbounded, so TryWrite() will never fail. Additionally, we are not interested in cancellation support for the act of adding a message to a channel. So, there is no reason for any of this to be done asynchronously. * Draco.JsonRpc: Rework connection shutdown to use a CancellationToken. Also reflect the change in Draco.Lsp and Draco.Dap, allowing the user to pass in a CT when calling LanguageServer.RunAsync() and DebugAdapter.RunAsync(), resp. Closes #415.
- Loading branch information
Showing
5 changed files
with
45 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters