mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-31 08:19:14 +00:00
server: Drop
This commit is contained in:
@@ -264,7 +264,7 @@ impl DnsServer {
|
|||||||
impl Drop for DnsServer {
|
impl Drop for DnsServer {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
tracing::info!("DnsServer is dropped");
|
tracing::info!("DnsServer is dropped");
|
||||||
// TODO: remove addresses
|
self.addresses.write().clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user