Support Stop listener

pull/238/head
Shelikhoo 8 years ago
parent 062d05fdcf
commit 273c8f6c57
No known key found for this signature in database
GPG Key ID: 7791BDB0709ABD21

@ -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 {

Loading…
Cancel
Save