modify error

This commit is contained in:
zgfzgf 2020-09-25 22:59:21 +08:00
parent 3207bc4704
commit 1a7aea1906

View File

@ -461,7 +461,7 @@ func (sh *scheduler) trySched() {
}
if len(rmQueue) > 0 {
for i := len(rmQueue) - 1; i >= 0; i++ {
for i := len(rmQueue) - 1; i >= 0; i-- {
sh.schedQueue.Remove(rmQueue[i])
}
}