DustyP 9 months ago
parent bcb9c77e6b
commit b0a45e4faf

@ -213,7 +213,7 @@ func (dc *DerbyClock) readLoop() {
} else if b[0] == '\n' { } else if b[0] == '\n' {
// Check if we should consider the race complete // Check if we should consider the race complete
dc.mu.Lock() dc.mu.Lock()
if dc.status == StatusRunning && results != nil { if dc.status == StatusRunning && len(results) > 0 {
dc.status = StatusFinished dc.status = StatusFinished
dc.mu.Unlock() dc.mu.Unlock()

Loading…
Cancel
Save