hotfix: fix bug (#530)

This commit is contained in:
naison
2025-04-11 19:12:15 +08:00
committed by GitHub
parent 0c122473ce
commit 0ddcaa8acc

View File

@@ -148,7 +148,7 @@ func (d *Device) transport(ctx1 context.Context, addr string, routeMapUDP *sync.
tunOutbound: d.tunOutbound,
routeMapUDP: routeMapUDP,
routeMapTCP: routeMapTCP,
errChan: d.errChan,
errChan: make(chan error, 1),
}
defer p.Close()