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
I deem "SIGTERM is also raised" should be "ProcessExit is also raised".
This appear somewhat melded.
Since ConsoleLifetime blocked ProcessExit while waiting for the host to shut down, this behavior led to deadlocks from Environment.Exit also blocks waiting for the call to ProcessExit.
I went through code and linked issue and I am not 100 % sure but it should be something like:
"Environment.Exit fired ProcessExit and ConsoleLifetime blocked waiting to host stop which in turn was not possible because host was waiting to finish Environment.Exit, a deadlock.".
Type of issue
Missing information
Description
From
ProcessExit
is also raised".I went through code and linked issue and I am not 100 % sure but it should be something like:
"
Environment.Exit
firedProcessExit
andConsoleLifetime
blocked waiting to host stop which in turn was not possible because host was waiting to finishEnvironment.Exit
, a deadlock.".Page URL
https://learn.microsoft.com/en-us/dotnet/core/extensions/generic-host?tabs=hostbuilder
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/extensions/generic-host.md
Document Version Independent Id
22a12ff8-d2ff-a841-b9bb-e2fd1032bc04
Article author
@IEvangelist
Metadata
The text was updated successfully, but these errors were encountered: