forked from microsoft/vs-streamjsonrpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide deterministic way to await for async disposal
This fixes up a regression in the last commit that came from the fact that on .NET Framework, `NamedPipeClientStream.ReadAsync(byte[], int, int, CancellationToken)` does not honor the `CancellationToken` while waiting for bytes to come in. As a result, pipes were never closed by the previous commit. This ports PR microsoft#359 to fix microsoft#350 for 2.2 consumption It includes cherrypicked and adjusted commits from: b464e57 b4bed10
- Loading branch information
Showing
4 changed files
with
120 additions
and
97 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