mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-09-26 11:21:07 +02:00
refactor: don't show logs on process termination
This commit is contained in:
@@ -683,11 +683,7 @@ impl ProfileManager {
|
|||||||
is_running = true;
|
is_running = true;
|
||||||
found_pid = Some(pid);
|
found_pid = Some(pid);
|
||||||
// Found existing browser process
|
// 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}");
|
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!(
|
println!(
|
||||||
"Camoufox process has stopped for profile '{}'",
|
"Camoufox process has stopped for profile '{}'",
|
||||||
profile.name
|
profile.name
|
||||||
|
|||||||
Reference in New Issue
Block a user