| 53 | } |
| 54 | |
| 55 | void ReleaseQueueData() |
| 56 | { |
| 57 | AFNetEvent* event = nullptr; |
| 58 | if (PopNetEvent(event)) |
| 59 | { |
| 60 | while (event != nullptr) |
| 61 | { |
| 62 | AFNetEvent::Release(event); |
| 63 | PopNetEvent(event); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | AFNetMsg* msg = nullptr; |
| 68 | if (PopNetMsg(msg)) |
| 69 | { |
| 70 | while (msg != nullptr) |
| 71 | { |
| 72 | AFNetMsg::Release(msg); |
| 73 | PopNetMsg(msg); |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | const SessionPTR& GetSession() |
| 79 | { |
nothing calls this directly
no outgoing calls
no test coverage detected