From 5ff41b76d41a72581536fb2c6878fc0c9cdacdcf Mon Sep 17 00:00:00 2001 From: Josh Deprez Date: Sat, 30 Mar 2024 17:04:27 +1100 Subject: [PATCH] Log waiting for handlers --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 65a152d..ab5682f 100644 --- a/main.go +++ b/main.go @@ -70,6 +70,7 @@ func main() { // Wait until all peer handlers have finished before closing the port var handlersWG sync.WaitGroup defer func() { + log.Print("Waiting for handlers to return...") handlersWG.Wait() ln.Close() }()