From fef0c963cb4e7237d201c04cef8adbd9ac6cea12 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Wed, 6 Aug 2025 23:28:03 +0400 Subject: [PATCH] refactor: don't show logs on process termination --- src-tauri/src/profile/manager.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src-tauri/src/profile/manager.rs b/src-tauri/src/profile/manager.rs index 5811607..a896a8f 100644 --- a/src-tauri/src/profile/manager.rs +++ b/src-tauri/src/profile/manager.rs @@ -683,11 +683,7 @@ impl ProfileManager { is_running = true; found_pid = Some(pid); // Found existing browser process - } else { - println!("PID {pid} exists but doesn't match our profile path exactly, searching for correct process..."); } - } else { - println!("Stored PID {pid} no longer exists, searching for browser process..."); } } @@ -840,6 +836,7 @@ impl ProfileManager { println!("Warning: Failed to emit profile update event: {e}"); } + // Only log once when the process actually stops (when we had a PID but now don't) println!( "Camoufox process has stopped for profile '{}'", profile.name