Call Process::Finalize directly in Debugger::Destroy, rather than having it done
authorJim Ingham <jingham@apple.com>
Wed, 27 Feb 2013 19:13:05 +0000 (19:13 +0000)
committerJim Ingham <jingham@apple.com>
Wed, 27 Feb 2013 19:13:05 +0000 (19:13 +0000)
commit1fd07059045fec72187846f5faf5d504e06b28c8
treef2e22267af876b8ff94cdc81c1ad4d726fbf7bec
parent2c377feacb207f83eedb3559d82ea4541e7cf541
Call Process::Finalize directly in Debugger::Destroy, rather than having it done
in the Process destructor.  Doing it there can be too late depending on what the internal state
and ProcessGDBRemote Async threads are doing.

<rdar://problem/13297536>

llvm-svn: 176203
lldb/source/Core/Debugger.cpp