Skip to content

Commit

Permalink
fix: close MetadataFd
Browse files Browse the repository at this point in the history
  • Loading branch information
WangYihang committed Feb 28, 2024
1 parent 6f305af commit 29284ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ func (s *Scheduler) Wait() {
close(s.DoneChan)
s.statusWg.Wait()
s.Save()
s.MetadataFd.Close()
}

func (s *Scheduler) Status() Status {
Expand Down

0 comments on commit 29284ae

Please sign in to comment.