fix: unset dns when exit

This commit is contained in:
MystiPanda 2024-06-28 12:18:18 +08:00
parent 8f3801e3c2
commit 834edcd03e
No known key found for this signature in database

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