Signed-off-by: Darren Stahl <darst@microsoft.com>
| ... | ... |
@@ -230,9 +230,6 @@ func (ctr *container) waitExit(process *process, isFirstProcessToStart bool) err |
| 230 | 230 |
// Remove process from list if we have exited |
| 231 | 231 |
// We need to do so here in case the Message Handler decides to restart it. |
| 232 | 232 |
if si.State == StateExit {
|
| 233 |
- if err := ctr.hcsContainer.Close(); err != nil {
|
|
| 234 |
- logrus.Error(err) |
|
| 235 |
- } |
|
| 236 | 233 |
ctr.client.deleteContainer(ctr.friendlyName) |
| 237 | 234 |
} |
| 238 | 235 |
} |