You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In net8.0 the TextWriter.FlushAsync() method has an overload that takes a CancellationToken. That is triggering a CA2016 warning that needs to be rationalized.
The text was updated successfully, but these errors were encountered:
Our trivial RPC system used for the BuildHost only allows a request
to be cancelled before it's sent along the wire -- once it's sent
across then it's sent for good. But if it was cancelled, we didn't clean
up the tracking for it.
This was noticed while looking at a change that was potentially adding
a cancellation token to the FlushAsync call (which is new in .NET 8.0)
and generally ensuring we are explicit with our behavior there.
Closesdotnet#71580
In
net8.0
theTextWriter.FlushAsync()
method has an overload that takes aCancellationToken
. That is triggering a CA2016 warning that needs to be rationalized.The text was updated successfully, but these errors were encountered: