Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #20 from hellofresh/bugfix/unused-field
Browse files Browse the repository at this point in the history
Remove unused mutex
  • Loading branch information
endeveit authored Jan 2, 2017
2 parents 54e915c + 1c54fdd commit f95f767
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions workers/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
type Worker struct {
die chan bool
reload chan bool
mutex *sync.Mutex
wg *sync.WaitGroup
isWorking bool
}
Expand All @@ -28,7 +27,6 @@ func NewWorker() *Worker {
return &Worker{
die: make(chan bool, 1),
reload: make(chan bool),
mutex: &sync.Mutex{},
wg: &sync.WaitGroup{},
}
}
Expand Down

0 comments on commit f95f767

Please sign in to comment.