Clash-rs crashed when UDP direct domain name resolving faild
Clash-rs crashed when this line of code is triggered https://github.com/Watfaq/clash-rs/blob/0976e6a6965e796e5b0f5093e4b77627729a0f5f/clash-lib/src/app/dispatcher/dispatcher_impl.rs#L450
It seems to occur when udp direct domain name resolving failed. The crash report is listed below
```
name = "clash-rs"
operating_system = "Linux (NixOS 26.05) [x86_64]"
crate_version = "0.10.2"
explanation = """
Panic occurred in file '/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.51.0/src/runtime/task/core.rs' at line 422
"""
cause = "JoinHandle polled after completion"
method = "Panic"
backtrace = """
0: 0x728b386ba0bc - <unresolved>
1: 0x728b386b9f3c - <unresolved>
2: 0x728b3859f154 - <unresolved>
3: 0x728b38b4df44 - <unresolved>
4: 0x728b38b3548a - <unresolved>
5: 0x728b38b2d119 - <unresolved>
6: 0x728b38b362bd - <unresolved>
```
1 条评论