this checkin supports windows OS in all Translator libs
Note: this is a re-submit of Ie5111d9c435b64d205b140a79863c0273742ee7f, fixed to avoid breaking the Mac build. Change-Id: Ib534063d3f403d33d162956bf510baf9689a246a
This commit is contained in:
committed by
David 'Digit' Turner
parent
3a38c110a9
commit
f0b7c2e4f9
@@ -52,7 +52,7 @@ childProcess::create(const char *p_cmdLine, const char *p_startdir)
|
||||
// close the thread handle we do not need it,
|
||||
// keep the process handle for wait/trywait operations, will
|
||||
// be closed on destruction
|
||||
CloseHandle(m_proc.hThread);
|
||||
CloseHandle(child->m_proc.hThread);
|
||||
|
||||
return child;
|
||||
}
|
||||
@@ -60,7 +60,7 @@ childProcess::create(const char *p_cmdLine, const char *p_startdir)
|
||||
childProcess::~childProcess()
|
||||
{
|
||||
if (m_proc.hProcess) {
|
||||
CloseHandle(child->m_proc.hProcess);
|
||||
CloseHandle(m_proc.hProcess);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user