Commit 034b8c08 authored by AlexStocks's avatar AlexStocks

add waitsec for udpconn

parent e3f213ef
......@@ -627,7 +627,7 @@ func (u *gettyUDPConn) Write(udpCtx interface{}) (int, error) {
}
// close udp connection
func (u *gettyUDPConn) close() {
func (u *gettyUDPConn) close(_ int) {
if u.conn != nil {
u.conn.Close()
u.conn = nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment