[Lldb-commits] [lldb] r238770 - Don't close handle returned by _get_osfhandle.
Oleksiy Vyalov
ovyalov at google.com
Mon Jun 1 11:52:17 PDT 2015
Author: ovyalov
Date: Mon Jun 1 13:52:16 2015
New Revision: 238770
URL: http://llvm.org/viewvc/llvm-project?rev=238770&view=rev
Log:
Don't close handle returned by _get_osfhandle.
http://reviews.llvm.org/D9931
Modified:
lldb/trunk/source/Host/windows/LockFileWindows.cpp
Modified: lldb/trunk/source/Host/windows/LockFileWindows.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/windows/LockFileWindows.cpp?rev=238770&r1=238769&r2=238770&view=diff
==============================================================================
--- lldb/trunk/source/Host/windows/LockFileWindows.cpp (original)
+++ lldb/trunk/source/Host/windows/LockFileWindows.cpp Mon Jun 1 13:52:16 2015
@@ -45,11 +45,6 @@ LockFileWindows::LockFileWindows (int fd
LockFileWindows::~LockFileWindows ()
{
Unlock ();
- if (m_file != INVALID_HANDLE_VALUE)
- {
- ::CloseHandle (m_file);
- m_file = INVALID_HANDLE_VALUE;
- }
}
bool
More information about the lldb-commits
mailing list