| 554 | } |
| 555 | |
| 556 | void AsyncHttpClient::clearEvtQueue() |
| 557 | { |
| 558 | Event evt; |
| 559 | |
| 560 | while (true == m_evtQueue.receive(&evt, 0U)) |
| 561 | { |
| 562 | if (EVENT_ID_DATA == evt.id) |
| 563 | { |
| 564 | if (nullptr != evt.u.data.data) |
| 565 | { |
| 566 | m_allocator.deallocateArray(evt.u.data.data); |
| 567 | evt.u.data.data = nullptr; |
| 568 | evt.u.data.size = 0U; |
| 569 | } |
| 570 | } |
| 571 | } |
| 572 | } |
| 573 | |
| 574 | void AsyncHttpClient::processTask(void* parameters) |
| 575 | { |
nothing calls this directly
no test coverage detected