aboutsummaryrefslogtreecommitdiff
path: root/pkg/server/utils/encode.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-07-05 18:30:03 -0700
committerFuwn <[email protected]>2021-07-05 18:30:03 -0700
commit41229be20da92dda7d3cd98a8f70b1465a2c98ab (patch)
tree6e8b96ecf2bbd9abf8038e4cac5eb670a8e07bf9 /pkg/server/utils/encode.go
parentstyle(copyright): add header to hex.go (diff)
downloadmunch-41229be20da92dda7d3cd98a8f70b1465a2c98ab.tar.xz
munch-41229be20da92dda7d3cd98a8f70b1465a2c98ab.zip
feat(munch): setup signal handler
This commit adds a signal handler which detects Ctrl+Cs and then properly shuts down all of Munch. Before, only one of Munch's Goroutines would be shut down to the full leaving a dangling Goroutine, in this case; the Worlds bot.
Diffstat (limited to 'pkg/server/utils/encode.go')
0 files changed, 0 insertions, 0 deletions