mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #2797 from crosbymichael/revert-exit-lock
Revert "Lock state before we modify."
This commit is contained in:
commit
c4ab498920
1 changed files with 0 additions and 2 deletions
|
@ -1300,9 +1300,7 @@ func (container *Container) monitor() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Report status back
|
// Report status back
|
||||||
container.State.Lock()
|
|
||||||
container.State.setStopped(exitCode)
|
container.State.setStopped(exitCode)
|
||||||
container.State.Unlock()
|
|
||||||
|
|
||||||
// Release the lock
|
// Release the lock
|
||||||
close(container.waitLock)
|
close(container.waitLock)
|
||||||
|
|
Loading…
Reference in a new issue