refactor: nodecar cleanup

This commit is contained in:
zhom
2025-08-01 00:58:15 +04:00
parent f4c33ad96e
commit da7f791274
10 changed files with 52 additions and 85 deletions
+2 -2
View File
@@ -683,7 +683,7 @@ impl ProfileManager {
Ok(Some(camoufox_process)) => {
// Found a running instance, update profile with process info
let mut updated_profile = profile.clone();
updated_profile.process_id = camoufox_process.port;
updated_profile.process_id = camoufox_process.processId;
if let Err(e) = self.save_profile(&updated_profile) {
println!("Warning: Failed to update Camoufox profile with process info: {e}");
}
@@ -695,7 +695,7 @@ impl ProfileManager {
println!(
"Camoufox profile '{}' is running with PID: {:?}",
profile.name, camoufox_process.port
profile.name, camoufox_process.processId
);
Ok(true)
}