Ensure reasonable behavior on exceptions during suspension
Open
area-CodeGen-coreclr
Priority:1
runtime-async
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
There are two possible source of exceptions during suspension:
* Allocation of the continuation instance can throw OOM
* ~~Restoration of ExecutionContext calls into user code through `ExecutionContext.OnValuesChanges`~~ (removed in #121743)
We should ensure that something reasonable happens in these cases.
Contributor guide
Assessment
This issue has not been assessed yet.