MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / ~TCP_Session

Method ~TCP_Session

pcsx2/DEV9/Sessions/TCP_Session/TCP_Session.cpp:155–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 }
154
155 TCP_Session::~TCP_Session()
156 {
157 CloseSocket();
158
159 // Clear out _recvBuff
160 while (!_recvBuff.IsQueueEmpty())
161 {
162 ReceivedPayload retPay;
163 if (!_recvBuff.Dequeue(&retPay))
164 {
165 using namespace std::chrono_literals;
166 std::this_thread::sleep_for(1ms);
167 continue;
168 }
169 }
170 }
171} // namespace Sessions

Callers

nothing calls this directly

Calls 2

IsQueueEmptyMethod · 0.80
DequeueMethod · 0.80

Tested by

no test coverage detected