summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/boot')
-rw-r--r--runsc/boot/loader.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go
index e47eced18..5867eec96 100644
--- a/runsc/boot/loader.go
+++ b/runsc/boot/loader.go
@@ -573,15 +573,8 @@ func (l *Loader) waitContainer(cid string, waitStatus *uint32) error {
// If the thread either has already exited or exits during waiting,
// consider the container exited.
- // TODO: Multiple calls to waitContainer() should return
- // the same exit status.
ws := l.wait(tg)
*waitStatus = ws
-
- l.mu.Lock()
- defer l.mu.Unlock()
- delete(l.containerRootTGs, cid)
-
return nil
}