Skip to content

Commit

Permalink
Handle SIGABRT properly
Browse files Browse the repository at this point in the history
  • Loading branch information
zyedidia committed Oct 20, 2023
1 parent 2a9a5af commit 9da6af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/micro/micro.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func main() {

sigterm = make(chan os.Signal, 1)
sighup = make(chan os.Signal, 1)
signal.Notify(sigterm, syscall.SIGTERM, syscall.SIGINT, syscall.SIGQUIT)
signal.Notify(sigterm, syscall.SIGTERM, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGABRT)
signal.Notify(sighup, syscall.SIGHUP)

// Here is the event loop which runs in a separate thread
Expand Down

0 comments on commit 9da6af9

Please sign in to comment.