dotnet / runtimelab

This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.
MIT License
1.4k stars 196 forks source link

[Async-2] Null out TLS head continuation reference #2429

Closed jakobbotsch closed 9 months ago

jakobbotsch commented 9 months ago

Avoid permanently holding on to a reference to the continuation chain from the previous suspension in TLS.

(I don't think this particularly affects the results of #2425, but seems like we shouldn't be doing it in any case.)

jakobbotsch commented 9 months ago

Ugh, accidentally merged this as a merge instead of squash...