mirror of https://github.com/tidwall/evio.git
packet conn close
This commit is contained in:
parent
d99d9b2eb9
commit
1ef371695f
|
@ -12,6 +12,9 @@ func (ln *listener) close() {
|
|||
if ln.ln != nil {
|
||||
ln.ln.Close()
|
||||
}
|
||||
if ln.pconn != nil {
|
||||
ln.pconn.Close()
|
||||
}
|
||||
if ln.network == "unix" {
|
||||
os.RemoveAll(ln.addr)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue