[ROSAUTOTEST]

- Avoid double-close of pipe handles

svn path=/trunk/; revision=66482
This commit is contained in:
Thomas Faber 2015-02-28 06:56:56 +00:00
parent 8d14ace200
commit 7a357f830c

View file

@ -42,6 +42,7 @@ CPipe::CloseReadPipe()
if (!m_hReadPipe)
FATAL("Trying to close already closed read pipe");
CloseHandle(m_hReadPipe);
m_hReadPipe = NULL;
}
/**
@ -53,6 +54,7 @@ CPipe::CloseWritePipe()
if (!m_hWritePipe)
FATAL("Trying to close already closed write pipe");
CloseHandle(m_hWritePipe);
m_hWritePipe = NULL;
}
/**