mirror of
https://github.com/MrBeanCpp/MIT.git
synced 2026-04-29 21:29:46 +08:00
删除Index析构自动保存,时机不可控,改为手动+main结束自动save
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
use mit::models::Index;
|
||||
|
||||
mod cli;
|
||||
fn main() {
|
||||
color_backtrace::install(); // colorize backtrace
|
||||
cli::handle_command();
|
||||
Index::get_instance().save(); //兜底save
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user