Skip to content

Commit

Permalink
fix: status file race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
WangYihang committed Jul 2, 2024
1 parent aaf1554 commit adac3fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions status.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func (sm *statusManager) Start() {

// Stop stops the status manager.
func (sm *statusManager) Stop() {
sm.notify()
sm.notify()
sm.ticker.Stop()
for _, ch := range sm.statusChans {
Expand Down

0 comments on commit adac3fb

Please sign in to comment.