Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Remove cancellation token from new System.Data CloseAsync() (#39070)#39122

Merged
wtgodbe merged 1 commit intodotnet:release/3.0from
wtgodbe:CPick39070
Jul 2, 2019
Merged

Remove cancellation token from new System.Data CloseAsync() (#39070)#39122
wtgodbe merged 1 commit intodotnet:release/3.0from
wtgodbe:CPick39070

Conversation

@wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Jul 2, 2019

Affects DbDataReader and DbConnection, since these APIs are very likely
to be used for cleanup only, in which case a cancellation token is
an anti-pattern (similar to why DisposeAsync doesn't accept one).

See discussion here:
dotnet/standard#1283 (review)

Fixes #39069

Has been approved for preview7

CC @danmosemsft @roji @terrajobst

…9070)

Affects DbDataReader and DbConnection, since these APIs are very likely
to be used for cleanup only, in which case a cancellation token is
an anti-pattern (similar to why DisposeAsync doesn't accept one).

See discussion here:
dotnet/standard#1283 (review)

Fixes #39069
Copy link
Member

@roji roji left a comment

Choose a reason for hiding this comment

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

LGTM, am assuming this is the preview7 version of #39070?

@wtgodbe
Copy link
Member Author

wtgodbe commented Jul 2, 2019

@roji that's correct

@divega
Copy link

divega commented Jul 2, 2019

@wtgodbe will you be taking care of merging this today or is there any action required from us?

@wtgodbe
Copy link
Member Author

wtgodbe commented Jul 2, 2019

@divega I'm going to merge this as soon as CI is green

@wtgodbe wtgodbe merged commit e4f1f8f into dotnet:release/3.0 Jul 2, 2019
@karelz karelz added this to the 3.0 milestone Jul 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants