fix(test/server): Fix force cleanup in DNS server tests by casting server properties before closing sockets

This commit is contained in:
2025-05-28 19:55:01 +00:00
parent 1185ea67d4
commit 0f8953fc1d
3 changed files with 11 additions and 5 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2025-05-28 - 7.4.1 - fix(test/server)
Fix force cleanup in DNS server tests by casting server properties before closing sockets
- Cast server to any to safely invoke close() on httpsServer and udpServer in test cleanup
- Ensures proper emergency cleanup of server sockets without direct access to private properties
## 2025-05-28 - 7.4.0 - feat(manual socket handling)
Add comprehensive manual socket handling documentation for advanced DNS server use cases