Fix another LockViolation case on Windows (#14162)

- Add an assert that an exclusive lock is help to writeManifest
- Only call writeManifest in updateCObject if an exclusive lock is held
- cache: fixup test to verify hits don't take an exclusive lock, instead of writing the manifest
a3e2ee0911Casey Banner committed on 1/4/2023, 7:51:43 PM· committed by GitHubparent9ed4a93
2 files changedLine totals unavailable