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
This commit is contained in:
Greg Clayton 2010-08-19 21:50:06 +00:00
parent 086cae6c1f
commit be77e3bd6e
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}