fix: dns not restored when exiting the app

This commit is contained in:
huzibaca
2024-10-28 00:24:57 +08:00
parent 486ffbdc08
commit a127cd6444
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));
}