diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index dfa638adb442d03059b65b8cedc17ce560b6a798..77e99fa02b0c58a8e0f61bdb63e6ca797cd146a2 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(); + } _ => {} });