diff --git a/crates/registry-mock/src/mock_instance.rs b/crates/registry-mock/src/mock_instance.rs index 600b87d5..53dcea6d 100644 --- a/crates/registry-mock/src/mock_instance.rs +++ b/crates/registry-mock/src/mock_instance.rs @@ -234,6 +234,8 @@ impl Drop for RegistryAnchor { return; } + anchor.save(); + let pid = anchor.info.pid; eprintln!("info: There are no more users that use the mocked server"); eprintln!("info: Terminating mocked registry with the kill command (kill {pid})...");