mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 05:20:54 +00:00
[ROSAUTOTEST]
- Avoid double-close of pipe handles svn path=/trunk/; revision=66482
This commit is contained in:
parent
8d14ace200
commit
7a357f830c
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue