From be77e3bd6e56c775cd72ad1cf188d186d2e7c3e4 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Thu, 19 Aug 2010 21:50:06 +0000 Subject: [PATCH] Fixed a long delay in shutdown times by invalidating m_private_state_thread right before the private state thread (which calls "void *Process::RunPrivateStateThread ()") exits. llvm-svn: 111567 --- lldb/source/Target/Process.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index 38f99094e85f..20bd1cc794fb 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -1567,6 +1567,7 @@ Process::RunPrivateStateThread () if (log) log->Printf ("Process::%s (arg = %p, pid = %i) thread exiting...", __FUNCTION__, this, GetID()); + m_private_state_thread = LLDB_INVALID_HOST_THREAD; return NULL; }