|
|
|
@ -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()
|
|
|
|
|
|
|
|
|
|
|
|
|