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
committerDavid 'Digit' Turner <digit@android.com>2011-05-17 21:28:17 +0200
commitf0b7c2e4f9237e27a39f501e7b3c32b167be03ad (patch)
tree91614727089d329967ccfb238858dd7038c45300 /tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp
parent3a38c110a970c443c09df6a529a78f5b02a870dc (diff)
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
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);
}
}