]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/pipe.h
corrected a target name
[wxWidgets.git] / include / wx / unix / pipe.h
index 356ee9d394e55a45d14fb537998fa4a2939d871e..b1270b070a0175d87f822645d7e7f31ef2eebf73 100644 (file)
@@ -74,7 +74,10 @@ public:
         for ( size_t n = 0; n < WXSIZEOF(m_fds); n++ )
         {
             if ( m_fds[n] != INVALID_FD )
         for ( size_t n = 0; n < WXSIZEOF(m_fds); n++ )
         {
             if ( m_fds[n] != INVALID_FD )
+            {
                 close(m_fds[n]);
                 close(m_fds[n]);
+                m_fds[n] = INVALID_FD;
+            }
         }
     }
 
         }
     }