mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-22 02:39:55 -04:00
remove context in struct
This commit is contained in:
@@ -46,7 +46,7 @@ func (server *Server) handleConnection(conn *net.UDPConn) {
|
||||
}
|
||||
}
|
||||
|
||||
func (server *Server) Close() {
|
||||
func (server *Server) Close() error {
|
||||
server.accepting = false
|
||||
server.conn.Close()
|
||||
return server.conn.Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user