Skip to content

Commit

Permalink
Fix IOTS non windows condition in Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
richamo authored and mconnew committed Dec 17, 2020
1 parent 45f1f0c commit 685ea17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ public void Cleanup()
throw Fx.AssertAndThrowFatal("Cleanup called on an overlapped that is in-flight.");
}

if (!s_isWindows)
if (s_isWindows)
{
Overlapped.Free(_nativeOverlapped);
}
Expand Down

0 comments on commit 685ea17

Please sign in to comment.