Windows: Data race in libcontainerd (si)
| ... | ... |
@@ -264,6 +264,9 @@ func (ctr *container) waitExit(process *process, isFirstProcessToStart bool) err |
| 264 | 264 |
if err := ctr.client.backend.StateChanged(ctr.containerID, si); err != nil {
|
| 265 | 265 |
logrus.Error(err) |
| 266 | 266 |
} |
| 267 |
+ |
|
| 268 |
+ logrus.Debugf("libcontainerd: waitExit() completed OK, %+v", si)
|
|
| 269 |
+ |
|
| 267 | 270 |
if si.State == StateRestart {
|
| 268 | 271 |
go func() {
|
| 269 | 272 |
err := <-waitRestart |
| ... | ... |
@@ -282,7 +285,6 @@ func (ctr *container) waitExit(process *process, isFirstProcessToStart bool) err |
| 282 | 282 |
}() |
| 283 | 283 |
} |
| 284 | 284 |
|
| 285 |
- logrus.Debugf("libcontainerd: waitExit() completed OK, %+v", si)
|
|
| 286 | 285 |
return nil |
| 287 | 286 |
} |
| 288 | 287 |
|