mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-10-28 17:42:14 +08:00
hotfix: cleanup in time when connect lite mode (#243)
This commit is contained in:
@@ -127,7 +127,7 @@ type ClientDevice struct {
|
||||
|
||||
func (d *ClientDevice) Start(ctx context.Context) {
|
||||
go d.tunInboundHandler(d.tunInbound, d.tunOutbound)
|
||||
go heartbeats(d.tun, d.tunInbound)
|
||||
go heartbeats(ctx, d.tun, d.tunInbound)
|
||||
|
||||
select {
|
||||
case err := <-d.chExit:
|
||||
|
||||
Reference in New Issue
Block a user