[Lldb-commits] [PATCH] D22209: Fix a race on process exit

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 12 02:45:17 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL275165: Fix a race on process exit (authored by labath).

Changed prior to commit:
  http://reviews.llvm.org/D22209?vs=63481&id=63659#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D22209

Files:
  lldb/trunk/source/Target/Process.cpp

Index: lldb/trunk/source/Target/Process.cpp
===================================================================
--- lldb/trunk/source/Target/Process.cpp
+++ lldb/trunk/source/Target/Process.cpp
@@ -1462,14 +1462,6 @@
     else
         m_exit_string.clear();
 
-    // When we exit, we don't need the input reader anymore
-    if (m_process_input_reader)
-    {
-        m_process_input_reader->SetIsDone(true);
-        m_process_input_reader->Cancel();
-        m_process_input_reader.reset();
-    }
-
     // Clear the last natural stop ID since it has a strong
     // reference to this process
     m_mod_id.SetStopEventForLastNaturalStopID(EventSP());


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22209.63659.patch
Type: text/x-patch
Size: 659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160712/7c069cc5/attachment.bin>


More information about the lldb-commits mailing list