feat: check config when change core
This commit is contained in:
parent
b3c1c56579
commit
48e14b36b8
1 changed files with 2 additions and 0 deletions
|
@ -210,6 +210,8 @@ impl CoreManager {
|
|||
|
||||
Config::verge().draft().clash_core = Some(clash_core);
|
||||
|
||||
self.check_config()?;
|
||||
|
||||
// 清掉旧日志
|
||||
Logger::global().clear_log();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue