mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-28 21:15:46 -05:00
remove context in struct
This commit is contained in:
@@ -69,6 +69,6 @@ func (server *Server) handleConnection(conn net.Conn) {
|
||||
conn.Close()
|
||||
}
|
||||
|
||||
func (server *Server) Close() {
|
||||
server.listener.Close()
|
||||
func (server *Server) Close() error {
|
||||
return server.listener.Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user