code: func (s *State) SetStopped(exitStatus *ExitStatus) {
  	s.Running = false
  	s.Paused = false
  	s.Restarting = false
  	s.Pid = 0
  	if exitStatus.ExitedAt.IsZero() {
  		s.FinishedAt = time.Now().UTC()
  	} else {
  		s.FinishedAt = exitStatus.ExitedAt
  	}
  	s.ExitCodeValue = exitStatus.ExitCode
  	s.OOMKilled = exitStatus.OOMKilled
  	close(s.waitStop) // fire waiters for stop
  	s.waitStop = make(chan struct{})
  }
docs: // SetStopped sets the container state to "stopped" without locking.