Commit 729f05c
authored
Each Ctrl+Z suspend call registered a SIGCONT channel via signal.Notify
but never called signal.Stop after receiving the signal. This caused a
signal channel leak on every suspend/resume cycle.
All other signal handlers in the codebase (handleSignals in tea.go and
listenForResize in signals_unix.go) correctly defer signal.Stop.
Signed-off-by: Cocoon-Break <54054995+kuishou68@users.noreply.github.com>
1 parent 05df5ae commit 729f05c
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments