[Lldb-commits] [lldb] r154681 - /lldb/trunk/source/Target/ThreadPlanCallFunction.cpp

Jim Ingham jingham at apple.com
Fri Apr 13 11:27:58 PDT 2012


Author: jingham
Date: Fri Apr 13 13:27:58 2012
New Revision: 154681

URL: http://llvm.org/viewvc/llvm-project?rev=154681&view=rev
Log:
ThreadPlanCallFunction's destructor wasn't calling DoTakedown, so if the that plan got discarded we weren't doing the takedown.

Modified:
    lldb/trunk/source/Target/ThreadPlanCallFunction.cpp

Modified: lldb/trunk/source/Target/ThreadPlanCallFunction.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadPlanCallFunction.cpp?rev=154681&r1=154680&r2=154681&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadPlanCallFunction.cpp (original)
+++ lldb/trunk/source/Target/ThreadPlanCallFunction.cpp Fri Apr 13 13:27:58 2012
@@ -263,6 +263,7 @@
 
 ThreadPlanCallFunction::~ThreadPlanCallFunction ()
 {
+    DoTakedown();
 }
 
 void





More information about the lldb-commits mailing list