Consider blocking TaskLoggingHelper use after its task ends #4828
Labels
Area: Debuggability
Issues impacting the diagnosability of builds, including logging and clearer error messages.
triaged
see #4792 (comment) and the rest of that thread
If you hold onto a
TaskLoggingHelper
object (perhaps in astatic
field) past the lifetime of theTask
that created it, it will throw when it is used.We could instead dispose of it and provide a nicer error at time of use.
The text was updated successfully, but these errors were encountered: