This commit is contained in:
youguanxinqing
2021-06-12 17:42:13 +08:00
committed by finley
parent 4c4c9ff80a
commit 083d5b325e
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ func (h *Handler) Handle(ctx context.Context, conn net.Conn) {
// Close stops handler
func (h *Handler) Close() error {
logger.Info("handler shuting down...")
logger.Info("handler shutting down...")
h.closing.Set(true)
// TODO: concurrent wait
h.activeConn.Range(func(key interface{}, val interface{}) bool {