utils: move code to a dedicated mod; add AsyncRuntime (#2072)

This commit is contained in:
Luna Yao
2026-04-16 17:32:07 +02:00
committed by GitHub
parent 82ca04a8a7
commit bcb2e512d4
10 changed files with 211 additions and 82 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ use easytier::{
tunnel::TunnelListener,
tunnel::ring::RingTunnelListener,
tunnel::tcp::TcpTunnelListener,
utils::{self},
utils::panic::setup_panic_handler,
};
use std::ops::Deref;
use std::sync::Arc;
@@ -1120,7 +1120,7 @@ pub fn run_gui() -> std::process::ExitCode {
process::exit(0);
}
utils::setup_panic_handler();
setup_panic_handler();
let mut builder = tauri::Builder::default();