mirror of
https://github.com/fatedier/frp.git
synced 2025-07-20 12:50:04 +07:00
more e2e tests (#1845)
This commit is contained in:
@ -246,7 +246,9 @@ func (l *UDPListener) Accept() (net.Conn, error) {
|
||||
func (l *UDPListener) Close() error {
|
||||
if !l.closeFlag {
|
||||
l.closeFlag = true
|
||||
l.readConn.Close()
|
||||
if l.readConn != nil {
|
||||
l.readConn.Close()
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user