mirror of https://github.com/go-co-op/gocron.git
Added a return to the selectRunJobRequest function
This commit is contained in:
parent
6e6485bd57
commit
6f3e701c42
|
|
@ -297,6 +297,7 @@ func (s *scheduler) selectRunJobRequest(run runJobRequest) {
|
|||
case run.outChan <- ErrJobNotFound:
|
||||
default:
|
||||
}
|
||||
return
|
||||
}
|
||||
select {
|
||||
case <-s.shutdownCtx.Done():
|
||||
|
|
|
|||
Loading…
Reference in New Issue