Added a return to the selectRunJobRequest function (#872)

This commit is contained in:
sarff 2025-09-17 18:06:55 +03:00 committed by GitHub
parent 6e6485bd57
commit d56a063ca0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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():