fix: unused

This commit is contained in:
GyDi
2022-09-12 00:02:25 +08:00
parent 47c8ccb0e5
commit cf96622261
2 changed files with 3 additions and 2 deletions

View File

@@ -190,7 +190,8 @@ fn main() -> std::io::Result<()> {
})
.expect("error when exiting.");
app.run(|_, e| match e {
#[allow(unused)]
app.run(|app_handle, e| match e {
tauri::RunEvent::ExitRequested { api, .. } => {
api.prevent_exit();
}