projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c377fe
)
Call Process::Finalize directly in Debugger::Destroy, rather than having it done
author
Jim Ingham
<jingham@apple.com>
Wed, 27 Feb 2013 19:13:05 +0000
(19:13 +0000)
committer
Jim Ingham
<jingham@apple.com>
Wed, 27 Feb 2013 19:13:05 +0000
(19:13 +0000)
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
patch
|
blob
|
history
diff --git
a/lldb/source/Core/Debugger.cpp
b/lldb/source/Core/Debugger.cpp
index
dd8c613
..
327965c
100644
(file)
--- a/
lldb/source/Core/Debugger.cpp
+++ b/
lldb/source/Core/Debugger.cpp
@@
-607,10
+607,7
@@
Debugger::Clear()
{
ProcessSP process_sp (target_sp->GetProcessSP());
if (process_sp)
- {
- if (process_sp->GetShouldDetach())
- process_sp->Detach();
- }
+ process_sp->Finalize();
target_sp->Destroy();
}
}