fix: remove sigkill
Some checks failed
Go Test / test (push) Failing after 29s
Go Bump / bump (push) Successful in 31s

This commit is contained in:
xuu 2024-02-29 11:02:00 -07:00
parent 54fe38821c
commit 0afc7a5bed
Signed by: xuu
GPG Key ID: 8B3B0604F164E04F

View File

@ -18,7 +18,7 @@ var apps service.Apps
var appName, version = service.AppName() var appName, version = service.AppName()
func main() { func main() {
ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt, os.Kill) ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt)
go func() { go func() {
<-ctx.Done() <-ctx.Done()
defer cancel() // restore interrupt function defer cancel() // restore interrupt function