From 2246f3e08cb53fd0e6f12bc9494c4a71e631f357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 22 Feb 2017 21:05:17 -0800 Subject: [PATCH] Cleanup. --- src/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread.cpp b/src/thread.cpp index 30e1187..e921c5b 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -167,7 +167,7 @@ namespace bx GetExitCodeThread(ti->m_handle, (DWORD*)&m_exitCode); CloseHandle(ti->m_handle); ti->m_handle = INVALID_HANDLE_VALUE; -#elif BX_PLATFORM_WINRT +#elif BX_PLATFORM_WINRT || BX_PLATFORM_XBOXONE WaitForSingleObjectEx(ti->m_handle, INFINITE, FALSE); CloseHandle(ti->m_handle); ti->m_handle = INVALID_HANDLE_VALUE;