Skip to content

React to SIGTERM exit code change #6526

Closed
@Tratcher

Description

@Tratcher

dotnet/coreclr#21300 (comment)

CoreClr is changing the default behavior for SIGTERM exit codes from zero to non-zero. WebHost and GenericHost both block the ProcessExit event while attempting to shut down.

Proposal:
If the host does shut down gracefully then set the exit code to zero.

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-hostingIncludes Hostingarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions