os/signal: NotifyContext should communicate the signal via context.WithCancelCause #60733
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
context.Cause(ctx)
should return an error containing the info of which signal caused the cancellation.What did you see instead?
The text was updated successfully, but these errors were encountered: