mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-08 10:56:13 -08:00
server: Drop
This commit is contained in:
1 parent
833ed8d8b8
commit
202d8ec121
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user