[client] Stop flow grpc receiver properly (#3596)

This commit is contained in:
Viktor Liu
2025-03-28 16:08:31 +01:00
committed by GitHub
parent 6124e3b937
commit 29a6e5be71
12 changed files with 536 additions and 75 deletions

View File

@ -353,7 +353,7 @@ func (e *Engine) Start() error {
// start flow manager right after interface creation
publicKey := e.config.WgPrivateKey.PublicKey()
e.flowManager = netflow.NewManager(e.ctx, e.wgInterface, publicKey[:], e.statusRecorder)
e.flowManager = netflow.NewManager(e.wgInterface, publicKey[:], e.statusRecorder)
if e.config.RosenpassEnabled {
log.Infof("rosenpass is enabled")