mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-13 16:22:43 +10:00
14 lines
229 B
Rust
14 lines
229 B
Rust
use log::info;
|
|
use tauri::AppHandle;
|
|
|
|
#[tauri::command]
|
|
pub fn quit(app: tauri::AppHandle) {
|
|
cleanup_and_exit(&app);
|
|
}
|
|
|
|
pub fn cleanup_and_exit(app: &AppHandle) {
|
|
info!("exiting drop application...");
|
|
|
|
app.exit(0);
|
|
}
|