this checkin supports windows OS in all Translator libs

Change-Id: Ie5111d9c435b64d205b140a79863c0273742ee7f
This commit is contained in:
Amit Feller
2011-05-11 18:14:24 +03:00
parent 6203540306
commit 0bf6848571
12 changed files with 1319 additions and 125 deletions

View File

@@ -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);
}
}