소스 검색

Revert "Lock state before we modify."

This reverts commit d7e2fc898284fe29ed43f7b28eae56e7e052e854.
Michael Crosby 11 년 전
부모
커밋
cb70eedfda
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      container.go

+ 0 - 2
container.go

@@ -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)