Revert "Lock state before we modify."

This reverts commit d7e2fc8982.
This commit is contained in:
Michael Crosby 2013-11-21 12:11:25 -08:00
parent eaeb969138
commit cb70eedfda
1 changed files with 0 additions and 2 deletions

View File

@ -1300,9 +1300,7 @@ func (container *Container) monitor() {
}
// Report status back
container.State.Lock()
container.State.setStopped(exitCode)
container.State.Unlock()
// Release the lock
close(container.waitLock)