mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-14 16:51:18 +10:00
16 lines
231 B
Rust
16 lines
231 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);
|
|
}
|