Skip to content
Snippets Groups Projects
Commit ec0928a9 authored by Tulir Asokan's avatar Tulir Asokan :cat2:
Browse files

Wait for things to stop before exiting

parent 3b319d5f
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ import (
"os"
"os/signal"
"syscall"
"time"
flag "maunium.net/go/mauflag"
)
......@@ -59,4 +60,5 @@ func main() {
// Stop everything
stopMatrix()
stopWebhook()
time.Sleep(1 * time.Second)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment