mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-07 12:26:41 +02:00
chore(process): use request_restart (#2581)
This commit is contained in:
@@ -11,5 +11,5 @@ pub fn exit<R: Runtime>(app: AppHandle<R>, code: i32) {
|
||||
|
||||
#[tauri::command]
|
||||
pub fn restart<R: Runtime>(app: AppHandle<R>) {
|
||||
app.restart()
|
||||
app.request_restart()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user