Skip to content

Commit

Permalink
Infinite lock fix, when have a error not unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcfernandes committed Jun 6, 2023
1 parent 44e2b1c commit 2e7f3e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/podcastService.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ func DownloadMissingEpisodes() error {

fmt.Println("Processing episodes: ", strconv.Itoa(len(*data)))
if err != nil {
db.Unlock(JOB_NAME)
return err
}
var wg sync.WaitGroup
Expand Down

0 comments on commit 2e7f3e1

Please sign in to comment.