Process::Destroy should Halt before it tries to destroy so we don't have race conditi...
authorJim Ingham <jingham@apple.com>
Wed, 23 May 2012 15:46:31 +0000 (15:46 +0000)
committerJim Ingham <jingham@apple.com>
Wed, 23 May 2012 15:46:31 +0000 (15:46 +0000)
commit04e0a2270ab079c98c4bde9a5c023de64443e758
treec04305a66cf068e0b08c09490e1cb7996d636681
parent8152e22073821cf0a69367a99ffa5871dc2fdf78
Process::Destroy should Halt before it tries to destroy so we don't have race conditions where we are in the middle of trying to service an event when we go to Destroy.
The AttachCompletionHandler should note that it has restarted the target if it indeed does so.

llvm-svn: 157327
lldb/source/Target/Process.cpp