| 422 | } |
| 423 | |
| 424 | KNativeSocketObject::~KNativeSocketObject() { |
| 425 | LOG_SOCK("native socket: %x close", nativeSocket); |
| 426 | closesocket(this->nativeSocket); |
| 427 | removeWaitingSocket(this->nativeSocket); |
| 428 | this->nativeSocket = 0; |
| 429 | { |
| 430 | BOXEDWINE_CRITICAL_SECTION_WITH_CONDITION(this->readingCond); |
| 431 | BOXEDWINE_CONDITION_SIGNAL_ALL(this->readingCond); |
| 432 | } |
| 433 | { |
| 434 | BOXEDWINE_CRITICAL_SECTION_WITH_CONDITION(this->writingCond); |
| 435 | BOXEDWINE_CONDITION_SIGNAL_ALL(this->writingCond); |
| 436 | } |
| 437 | } |
| 438 | |
| 439 | #ifdef WIN32 |
| 440 | PIP_ADAPTER_ADDRESSES getAdapterAddresses() { |
nothing calls this directly
no test coverage detected