diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-02 04:41:26 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-02 04:41:26 +0900 |
| commit | 6931ad95c3e7d0acb45b2aafe24fb63012f061a5 (patch) | |
| tree | cfb1b22fe1cdf51c15b0519224aa4d3bb4bd66cd /container/executable_test.go | |
| parent | 2ba599b3997f9d4270e533ee0d0e7c235414b31a (diff) | |
internal/outcome/shim: EOF as exit request fallback
In some cases the signal might be delivered before the signal handler is installed, and synchronising against such a case is too expensive. Instead, use the pipe being closed as a fallback to the regular exit request. This change also moves installation of the signal handler early.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/executable_test.go')
0 files changed, 0 insertions, 0 deletions
