Shelikhoo пре 9 година
родитељ
комит
273c8f6c57
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      transport/internet/ws/hub.go

+ 1 - 1
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 {