fix: dns not restored when exiting the app

This commit is contained in:
huzibaca
2024-10-28 00:24:57 +08:00
parent 7c1b11851f
commit 74251af163
4 changed files with 81 additions and 76 deletions

View File

@@ -371,7 +371,7 @@ pub fn open_devtools(app_handle: tauri::AppHandle) {
}
#[tauri::command]
pub fn exit_app() {
pub async fn exit_app() {
feat::quit(Some(0));
}