Skip to content

Commit

Permalink
fix: SIGKILL can't be trapped, so removing it from notify
Browse files Browse the repository at this point in the history
  • Loading branch information
nxtcoder17 committed Jan 20, 2024
1 parent 3048de1 commit e956cba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ type ProgramManager struct {
func NewProgramManager(logger logging.Logger) *ProgramManager {
done := make(chan os.Signal, 1)
signal.Notify(done, syscall.SIGTERM)
signal.Notify(done, syscall.SIGKILL)

return &ProgramManager{
done: done,
Expand Down

0 comments on commit e956cba

Please sign in to comment.