Merge pull request #5 from tommasodotNET/tommasodotNET/issue4

Removed unreachable code
This commit is contained in:
Edward 2020-11-02 20:33:09 +08:00 committed by GitHub
commit d21c9b06d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {