mirror of
https://github.com/tauri-apps/tauri-plugin-process.git
synced 2026-01-31 00:55:17 +01:00
chore(process): use request_restart (#2581)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/14198052029 Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com>
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