fix: reset after exit

This commit is contained in:
GyDi 2022-04-14 01:29:33 +08:00
parent 557abd4285
commit f5d0513d1f
No known key found for this signature in database
GPG Key ID: 58B15242BA8277A6

View File

@ -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();
}
_ => {}
});