Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Wait to dispose RequestAborted CTS (#4447)" #6994

Merged
merged 2 commits into from
Jan 24, 2019

Conversation

halter73
Copy link
Member

This reverts commit 0622513.

@natemcmaster natemcmaster added the Servicing-consider Shiproom approval is required for the issue label Jan 24, 2019
@natemcmaster natemcmaster added this to the 2.2.x milestone Jan 24, 2019
{
var originalToken = _http1Connection.RequestAborted;
var originalRegistration = originalToken.Register(() => { });

_http1Connection.Abort(new ConnectionAbortedException());

Assert.True(originalToken.WaitHandle.WaitOne(TestConstants.DefaultTimeout));
// The following line will throw an ODE because the original CTS backing the token has been diposed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: diposed -> disposed

@muratg muratg added Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Jan 24, 2019
@natemcmaster natemcmaster modified the milestones: 2.2.x, 2.2.2 Jan 24, 2019
@muratg
Copy link
Contributor

muratg commented Jan 24, 2019

Can we get this in ASAP to get a build out please?

@muratg muratg merged commit 522705f into release/2.2 Jan 24, 2019
@halter73 halter73 deleted the halter73/1531-part2 branch January 24, 2019 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Servicing-approved Shiproom has approved the issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants