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

Fixed deadlock in caller's Task.WhenAll #108

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ogonzalez-sd
Copy link

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.
Copy link
Owner

@lontivero lontivero left a comment

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

Open.Nat/Discovery/Searcher.cs Outdated Show resolved Hide resolved
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