| 357 | } |
| 358 | |
| 359 | DHCP_Server::~DHCP_Server() |
| 360 | { |
| 361 | //Delete entries in queue |
| 362 | while (!recvBuff.IsQueueEmpty()) |
| 363 | { |
| 364 | UDP_Packet* retPay = nullptr; |
| 365 | if (!recvBuff.Dequeue(&retPay)) |
| 366 | { |
| 367 | std::this_thread::yield(); |
| 368 | continue; |
| 369 | } |
| 370 | |
| 371 | delete retPay; |
| 372 | } |
| 373 | } |
| 374 | } // namespace InternalServers |
nothing calls this directly
no test coverage detected