this checkin supports windows OS in all Translator libs
Change-Id: Ie5111d9c435b64d205b140a79863c0273742ee7f
This commit is contained in:
@@ -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