Skip to content

Commit

Permalink
fix: forgot to save
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Nov 15, 2023
1 parent 433a344 commit 6d9e68a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/registry-mock/src/mock_instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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})...");
Expand Down

0 comments on commit 6d9e68a

Please sign in to comment.