refactor: tun mode is turned on and off, does not depend on services, and does not affect other configurations

This commit is contained in:
huzibaca
2024-10-05 22:45:59 +08:00
parent 1178f7c892
commit 0541a0c69f
6 changed files with 28 additions and 158 deletions

View File

@@ -107,7 +107,6 @@ pub fn resolve_reset() {
tauri::async_runtime::block_on(async move {
log_err!(sysopt::Sysopt::global().reset_sysproxy().await);
log_err!(CoreManager::global().stop_core().await);
log_err!(service::unset_dns_by_service().await);
});
}