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.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111567 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Process.cpp b/source/Target/Process.cpp
index 38f9909..20bd1cc 100644
--- a/source/Target/Process.cpp
+++ b/source/Target/Process.cpp
@@ -1567,6 +1567,7 @@
     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;
 }