Skip to content

Commit

Permalink
Stop SleepMon when shutting down OC-Daemon
Browse files Browse the repository at this point in the history
Signed-off-by: hwipl <[email protected]>
  • Loading branch information
hwipl committed Jun 1, 2023
1 parent 5354fcf commit c90dde9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ func (d *Daemon) start() {

// start sleep monitor
d.sleepmon.Start()
defer d.sleepmon.Stop()

// start traffic policing
d.checkTrafPol()
Expand Down

0 comments on commit c90dde9

Please sign in to comment.