[Lldb-commits] [lldb] r123583 - in /lldb/trunk/source/Plugins/Process/Linux: LinuxThread.cpp LinuxThread.h

Stephen Wilson wilsons at start.ca
Sun Jan 16 08:56:16 PST 2011


Author: wilsons
Date: Sun Jan 16 10:56:16 2011
New Revision: 123583

URL: http://llvm.org/viewvc/llvm-project?rev=123583&view=rev
Log:
Make a mandatory call to DestroyThread() in ~LinuxThread().

Modified:
    lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp
    lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h

Modified: lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp?rev=123583&r1=123582&r2=123583&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp Sun Jan 16 10:56:16 2011
@@ -31,6 +31,11 @@
 {
 }
 
+LinuxThread::~LinuxThread()
+{
+    DestroyThread();
+}
+
 ProcessMonitor &
 LinuxThread::GetMonitor()
 {

Modified: lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h?rev=123583&r1=123582&r2=123583&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h (original)
+++ lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h Sun Jan 16 10:56:16 2011
@@ -29,6 +29,8 @@
 public:
     LinuxThread(lldb_private::Process &process, lldb::tid_t tid);
 
+    virtual ~LinuxThread();
+
     void
     RefreshStateAfterStop();
 





More information about the lldb-commits mailing list