destroy cleanup

This commit is contained in:
Matej Sekoranja
2011-10-06 21:25:58 +02:00
parent 0eb299b843
commit c64d8b343c
2 changed files with 3 additions and 3 deletions

View File

@@ -281,7 +281,6 @@ namespace epics {
// close the socket
if(_channel!=INVALID_SOCKET) {
epicsSocketDestroy(_channel);
_channel = INVALID_SOCKET;
}
}
@@ -957,11 +956,12 @@ namespace epics {
LOG(logLevelDebug, "Connection to %s closed.",
inetAddressToString(_socketAddress).c_str());
/*
if(_channel!=INVALID_SOCKET) {
epicsSocketDestroy(_channel);
_channel = INVALID_SOCKET;
}
*/
}
void BlockingTCPTransport::rcvThreadRunner(void* param) {