mirror of
https://github.com/apple/container.git
synced 2026-07-14 21:47:01 +00:00
69fd9484b9
This PR fixes several races with the `stop()` and `shutdown()` methods by moving all state transitions inside a lock. ## Type of Change - [x] Bug fix - [ ] New feature - [ ] Breaking change - [ ] Documentation update ## Motivation and Context [Why is this change needed?] ## Testing - [x] Tested locally - [ ] Added/updated tests - [ ] Added/updated docs