Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,11 @@ public void RegisterForCancellation(CancellationToken cancellationToken)
NetEventSource.Info(@this, $"GetAddrInfoExCancel returned error {cancelResult}");
}
}
catch (ObjectDisposedException)
{
// There is a race between checking @this._completed and @this.DangerousAddRef and disposing from another thread.
// We lost the race. No further action needed.
}
finally
{
if (needRelease)
Expand Down
Loading