mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2025-04-04 21:53:34 +03:00
Merge pull request #5 from tommasodotNET/tommasodotNET/issue4
Removed unreachable code
This commit is contained in:
commit
d21c9b06d5
1 changed files with 0 additions and 1 deletions
|
@ -52,7 +52,6 @@ func (s *implementation) Release() error {
|
|||
case <-time.After(s.timeout):
|
||||
return ErrIllegalRelease
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func New(tickets int, timeout time.Duration) Interface {
|
||||
|
|
Loading…
Add table
Reference in a new issue