summaryrefslogtreecommitdiff
path: root/tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp
diff options
context:
space:
mode:
authorAmit Feller <amit@graphtech.co.il>2011-05-11 18:14:24 +0300
committerAmit Feller <amit@graphtech.co.il>2011-05-17 11:20:25 +0300
commit0bf68485710cb86ec9950f64b1389889ce2974e1 (patch)
treebc54c27297f5d64d7dea879c23be6d7a330b3bf4 /tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp
parent6203540306aebbbac55117f06785a76ad82267fb (diff)
this checkin supports windows OS in all Translator libs
Change-Id: Ie5111d9c435b64d205b140a79863c0273742ee7f
Diffstat (limited to 'tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp')
-rw-r--r--tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp b/tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp
index de7a3f73e..6ff0fdf51 100644
--- a/tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp
+++ b/tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp
@@ -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);
}
}