mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 11:42:21 +08:00
fix: unset dns when exit
This commit is contained in:
parent
8f3801e3c2
commit
834edcd03e
|
@ -112,6 +112,7 @@ pub fn resolve_setup(app: &mut App) {
|
|||
pub fn resolve_reset() {
|
||||
log_err!(sysopt::Sysopt::global().reset_sysproxy());
|
||||
log_err!(CoreManager::global().stop_core());
|
||||
let _ = service::unset_dns_by_service();
|
||||
}
|
||||
|
||||
/// create main window
|
||||
|
|
Loading…
Reference in New Issue
Block a user