Make a mandatory call to DestroyThread() in ~LinuxThread().

llvm-svn: 123583
This commit is contained in:
Stephen Wilson 2011-01-16 16:56:16 +00:00
parent c124e59c90
commit 811975d59e
2 changed files with 7 additions and 0 deletions

View File

@ -31,6 +31,11 @@ LinuxThread::LinuxThread(Process &process, lldb::tid_t tid)
{ {
} }
LinuxThread::~LinuxThread()
{
DestroyThread();
}
ProcessMonitor & ProcessMonitor &
LinuxThread::GetMonitor() LinuxThread::GetMonitor()
{ {

View File

@ -29,6 +29,8 @@ class LinuxThread
public: public:
LinuxThread(lldb_private::Process &process, lldb::tid_t tid); LinuxThread(lldb_private::Process &process, lldb::tid_t tid);
virtual ~LinuxThread();
void void
RefreshStateAfterStop(); RefreshStateAfterStop();