Removed unreachable code

This commit is contained in:
Tommaso Stocchi 2020-11-02 11:01:32 +01:00
parent 1355b53162
commit 10f2f33bad

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 {