fix: unset dns when exit

This commit is contained in:
MystiPanda 2024-06-28 12:18:18 +08:00
parent 212518c682
commit 0109d9148b

View File

@ -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