mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
cmd/cli: fix missing wg.Done call
This commit is contained in:
committed by
Cuong Manh Le
parent
3132d1b032
commit
ae6945cedf
@@ -486,6 +486,7 @@ func (p *prog) run(reload bool, reloadCh chan struct{}) {
|
||||
if !isMobile() && !reload {
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
p.runClientInfoDiscover(ctx)
|
||||
}()
|
||||
go p.watchLinkState(ctx)
|
||||
|
||||
Reference in New Issue
Block a user