From: Hafiz Abid Qadeer Date: Sun, 26 Oct 2014 21:38:43 +0000 (+0000) Subject: Added a missing call to 'Reset'. X-Git-Tag: llvmorg-3.6.0-rc1~4934 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01db53848e700917583344a20d118ec860629dc5;p=platform%2Fupstream%2Fllvm.git Added a missing call to 'Reset'. HostThreadWindows::Join() did not call the Reset as is done by the HostThreadPosix::Join(). As a result, future call to IsJoinable() can fail. Committed as obvious. llvm-svn: 220651 --- diff --git a/lldb/source/Host/windows/HostThreadWindows.cpp b/lldb/source/Host/windows/HostThreadWindows.cpp index 02e3bf7c14ea..25d5c72b4a43 100644 --- a/lldb/source/Host/windows/HostThreadWindows.cpp +++ b/lldb/source/Host/windows/HostThreadWindows.cpp @@ -51,6 +51,8 @@ HostThreadWindows::Join(lldb::thread_result_t *result) } else error.SetError(ERROR_INVALID_HANDLE, eErrorTypeWin32); + + Reset (); return error; }