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 into
dotnet:release/3.0from
wtgodbe:CPick39070
Jul 2, 2019
Merged

wtgodbe merged 1 commit into
dotnet:release/3.0from
wtgodbe:CPick39070

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Jul 2, 2019

Copy link
Copy Markdown
Member

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

@roji roji left a comment •

Copy link
Copy Markdown
Member

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

wtgodbe commented Jul 2, 2019

Copy link
Copy Markdown
Member Author

@roji that's correct

@divega

divega commented Jul 2, 2019

Copy link
Copy Markdown

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

@wtgodbe

wtgodbe commented Jul 2, 2019

Copy link
Copy Markdown
Member Author

@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