platform: Remove duplicated close

This commit is contained in:
hiddify 2024-02-06 09:21:41 +01:00 committed by 世界
parent 3c24411e14
commit f8c400cffc
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
5 changed files with 0 additions and 9 deletions

View file

@ -31,7 +31,6 @@ func (c *CommandClient) SelectOutbound(groupTag string, outboundTag string) erro
}
func (s *CommandServer) handleSelectOutbound(conn net.Conn) error {
defer conn.Close()
groupTag, err := rw.ReadVString(conn)
if err != nil {
return err