Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Don't capture asynclocals onto Timer - #2565

Merged
rynowak merged 1 commit into
aspnet:release/2.2from
benaadams:asynclocals
Sep 14, 2018
Merged

rynowak merged 1 commit into
aspnet:release/2.2from
benaadams:asynclocals

Conversation

@benaadams

Copy link
Copy Markdown
Contributor

Pattern is a workaround for not having api https://github.com/dotnet/corefx/issues/26523

Also a bit less captured scope onto the Task.StartNew

/cc @davidfowl

@rynowak

rynowak commented Sep 2, 2018

Copy link
Copy Markdown
Contributor

I'm sure this can't hurt, but is it important? This code doesn't ship in the runtime.

@benaadams

Copy link
Copy Markdown
Contributor Author

If it runs in VS its probably capturing stranger things :)

@rynowak

rynowak commented Sep 2, 2018

Copy link
Copy Markdown
Contributor

image

@rynowak

rynowak commented Sep 14, 2018

Copy link
Copy Markdown
Contributor

Thanks @benaadams - I'm going to merge this and then apply the new package on top.

@rynowak
rynowak merged commit 5e083c3 into aspnet:release/2.2 Sep 14, 2018
@benaadams
benaadams deleted the asynclocals branch December 7, 2018 14:57
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.

2 participants