RxRunning must be set false before this
| 187 | |
| 188 | //RxRunning must be set false before this |
| 189 | NetAdapter::~NetAdapter() |
| 190 | { |
| 191 | //unblock InternalServerRX thread |
| 192 | if (internalRxThreadRunning.load()) |
| 193 | { |
| 194 | internalRxThreadRunning.store(false); |
| 195 | |
| 196 | { |
| 197 | std::lock_guard srvlock(internalRxMutex); |
| 198 | internalRxHasData = true; |
| 199 | } |
| 200 | |
| 201 | internalRxCV.notify_all(); |
| 202 | internalRxThread.join(); |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | void NetAdapter::InspectSend(NetPacket* pkt) |
| 207 | { |
nothing calls this directly
no test coverage detected