Author: tfaber
Date: Sat Feb 28 06:56:56 2015
New Revision: 66482
URL:
http://svn.reactos.org/svn/reactos?rev=66482&view=rev
Log:
[ROSAUTOTEST]
- Avoid double-close of pipe handles
Modified:
trunk/rostests/rosautotest/CPipe.cpp
Modified: trunk/rostests/rosautotest/CPipe.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/rosautotest/CPipe.cpp?rev…
==============================================================================
--- trunk/rostests/rosautotest/CPipe.cpp [iso-8859-1] (original)
+++ trunk/rostests/rosautotest/CPipe.cpp [iso-8859-1] Sat Feb 28 06:56:56 2015
@@ -42,6 +42,7 @@
if (!m_hReadPipe)
FATAL("Trying to close already closed read pipe");
CloseHandle(m_hReadPipe);
+ m_hReadPipe = NULL;
}
/**
@@ -53,6 +54,7 @@
if (!m_hWritePipe)
FATAL("Trying to close already closed write pipe");
CloseHandle(m_hWritePipe);
+ m_hWritePipe = NULL;
}
/**