diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index dfa638a..77e99fa 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -170,6 +170,10 @@ fn main() -> std::io::Result<()> { resolve::resolve_reset(app_handle); api::process::kill_children(); } + tauri::RunEvent::Exit => { + resolve::resolve_reset(app_handle); + api::process::kill_children(); + } _ => {} });