server: Drop

This commit is contained in:
Luna Yao committed 2026-04-06 11:54:02 +02:00
1 parent 833ed8d8b8
commit 202d8ec121
1 file changed
+1 -1
+1 -1
View File
@@ -264,7 +264,7 @@ impl DnsServer {
impl Drop for DnsServer {
fn drop(&mut self) {
tracing::info!("DnsServer is dropped");
// TODO: remove addresses
self.addresses.write().clear();
}
}