mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-08 06:46:07 -04:00
remove context in struct
This commit is contained in:
@@ -36,6 +36,6 @@ func (s *Server) Start() (net.Destination, error) {
|
||||
return net.TCPDestination(net.LocalHostIP, net.Port(s.Port)), nil
|
||||
}
|
||||
|
||||
func (s *Server) Close() {
|
||||
s.server.Close()
|
||||
func (s *Server) Close() error {
|
||||
return s.server.Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user