upd comment

This commit is contained in:
xtaci
2019-05-16 17:09:57 +08:00
parent 9a7974d233
commit e2adf8df36
+1 -1
View File
@@ -852,7 +852,7 @@ func (l *Listener) SetReadDeadline(t time.Time) error {
// SetWriteDeadline implements the Conn SetWriteDeadline method.
func (l *Listener) SetWriteDeadline(t time.Time) error { return errInvalidOperation }
// Close stops listening on the UDP address. Already Accepted connections are not closed.
// Close stops listening on the UDP address, and closes the socket
func (l *Listener) Close() error {
var once bool
l.dieOnce.Do(func() {