Minor bug fix

This commit is contained in:
Jerry 2022-09-29 22:29:06 -07:00
parent e63e390ec7
commit ad658b6b99

View file

@ -128,7 +128,7 @@ func (m *taskStatusManager) addDependencies(blocker int, dependent int) bool {
// Blocker has already completed
delete(curblockers, blocker)
return false
return len(curblockers) > 0
}
if _, ok := m.dependency[blocker]; !ok {