async connection close

This commit is contained in:
v2ray
2016-06-02 02:40:46 +02:00
parent dfe1ac1f2b
commit 9a8bc3fc3c
+1 -1
View File
@@ -108,7 +108,7 @@ func FindFirstValid(list []*AwaitingConnection) int {
if !conn.Expired() {
return idx
}
conn.conn.Close()
go conn.conn.Close()
}
return -1
}