From 273c8f6c576ca1c1a7df3e78d1d9c64b242e8157 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Mon, 15 Aug 2016 18:47:44 +0800 Subject: [PATCH] Support Stop listener --- transport/internet/ws/hub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/internet/ws/hub.go b/transport/internet/ws/hub.go index 0e81edc11..9ac54de3d 100644 --- a/transport/internet/ws/hub.go +++ b/transport/internet/ws/hub.go @@ -169,7 +169,7 @@ func (this *WSListener) Close() error { defer this.Unlock() this.acccepting = false - log.Warning("WSListener: Yet to support close listening HTTP service") + this.listener.Stop() close(this.awaitingConns) for connErr := range this.awaitingConns {