mirror of https://github.com/v2ray/v2ray-core
parent
e5122a4c2d
commit
9d8922f523
|
@ -26,7 +26,7 @@ func (l *Listener) Addr() net.Addr {
|
|||
}
|
||||
|
||||
func (l *Listener) Close() error {
|
||||
return l.server.Shutdown(context.Background())
|
||||
return l.server.Close()
|
||||
}
|
||||
|
||||
type flushWriter struct {
|
||||
|
|
Loading…
Reference in New Issue