Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Fixed deadlock in caller's Task.WhenAll#108

Open
ogonzalez-sd wants to merge 3 commits into
lontivero:masterfrom
dreamhaven:pr-fixed-possible-deadlock
Open

Fixed deadlock in caller's Task.WhenAll#108
ogonzalez-sd wants to merge 3 commits into
lontivero:masterfrom
dreamhaven:pr-fixed-possible-deadlock

Conversation

@ogonzalez-sd

Copy link
Copy Markdown

When Task.Factory.StartNew is called with an already cancelled token, the resulting task never reaches completed.

When Task.Factory.StartNew is called with an already cancelled token, the resulting task never reaches completed.

@lontivero lontivero left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Good catch. Please address my comments and remember to use Tabs for this project. Also, please add yourself as a contributor here: https://github.com/lontivero/Open.NAT/blob/master/AUTHORS

Comment thread Open.Nat/Discovery/Searcher.cs Outdated
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