Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen Toub <stoub@microsoft.com>
  • Loading branch information
wfurt and stephentoub authored Jul 15, 2024
1 parent 831916a commit a23e8bb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1894,8 +1894,8 @@ private static unsafe void AddToPollArray(Interop.PollEvent* arr, int arrLength,

if (readCount > 0)
{
// some platfoms like macOS do not like if there is duplication between real and error list.
// To fix that we will search read list and if macthing descriptor exiost we will add events flags
// some platfoms like macOS do not like if there is duplication between read and error list.
// To fix that we will search read list and if a matching descriptor exists we will add events flags
// instead of adding new entry to error list.
int readIndex = 0;
while (readIndex < readCount)
Expand Down

0 comments on commit a23e8bb

Please sign in to comment.