]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/sdk/cpp/sf/tcpcomm.cpp
close file descriptors again
[tinyos-2.x.git] / support / sdk / cpp / sf / tcpcomm.cpp
index 762487f6a25b2c9ea916c547af9ef90b79d0267a..85b221a9db6ac7c5c66cbb55eaca81a5ae140fdb 100644 (file)
@@ -144,6 +144,8 @@ TCPComm::~TCPComm()
     {
         close(*it);
     }
+    close(pipeWriteFD);
+    close(pipeReadFD);
     pthread_mutex_destroy(&clientInfo.sleeplock);
     pthread_mutex_destroy(&clientInfo.countlock);
     pthread_cond_destroy(&clientInfo.wakeup);