Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

608 B
Raw Blame
pub(crate) mod chat_db;
mod chat_db_migration;
mod common;
pub(crate) mod config;
pub(crate) mod conversation;
pub(crate) mod crypto;
pub(crate) mod followup;
pub(crate) mod knowledge;
pub(crate) mod llm;
pub(crate) mod notes;
pub(crate) mod secure_storage;
pub(crate) mod system;

use tauri::AppHandle;

use crate::logging;

pub fn cleanup_for_exit(app: &AppHandle) {
    logging::log("App", "cleanup_for_exit start");
    llm::clear_for_exit(app);
    knowledge::clear_for_exit(app);
    notes::clear_for_exit(app);
    chat_db::clear_for_exit(app);
    logging::log("App", "cleanup_for_exit complete");
}