Minor fixes

This commit is contained in:
世界
2022-08-12 12:13:57 +08:00
parent de9fe64751
commit 0905d87cc8
10 changed files with 70 additions and 36 deletions

View File

@@ -144,5 +144,5 @@ func (d *DNS) NewPacketConnection(ctx context.Context, conn N.PacketConn, metada
group.Cleanup(func() {
conn.Close()
})
return group.Run(ctx)
return group.Run(fastClose)
}