diff --git a/server.go b/server.go index 121b9be..25c38cc 100644 --- a/server.go +++ b/server.go @@ -2,6 +2,7 @@ package overflow_gateway_websocket import ( "context" + "log" "net/http" "sync" @@ -95,6 +96,7 @@ func (s *server) listenHandler() { for { select { case <-s._ctx.Done(): + log.Println("websocket server: Context Done") return // Add new a socket case soc := <-s._addSocketCh: