Added a return to the selectRunJobRequest function

This commit is contained in:
dmit 2025-09-17 12:11:37 +03:00
parent 6e6485bd57
commit 6f3e701c42
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ func (s *scheduler) selectRunJobRequest(run runJobRequest) {
case run.outChan <- ErrJobNotFound:
default:
}
return
}
select {
case <-s.shutdownCtx.Done():