summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2013-07-10 21:57:27 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2013-07-10 21:57:27 +0000
commitbc68b431ba7c903f422d645ff08c146254a8f3d2 (patch)
tree38af98afeb2f7baf150717d2ceec889cc8b4f44c /lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
parent3b5475c0f28935fe7b3a6c6b2505a645d5331134 (diff)
downloadbcm5719-llvm-bc68b431ba7c903f422d645ff08c146254a8f3d2.tar.gz
bcm5719-llvm-bc68b431ba7c903f422d645ff08c146254a8f3d2.zip
Stop process monitor from ProcessPOSIX::Finalize
llvm-svn: 186039
Diffstat (limited to 'lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp')
-rw-r--r--lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp b/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
index d55609a7b87..ba6879cd25a 100644
--- a/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
+++ b/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
@@ -93,6 +93,14 @@ ProcessPOSIX::~ProcessPOSIX()
//------------------------------------------------------------------------------
// Process protocol.
+void
+ProcessPOSIX::Finalize()
+{
+ Process::Finalize();
+
+ if (m_monitor)
+ m_monitor->StopMonitor();
+}
bool
ProcessPOSIX::CanDebug(Target &target, bool plugin_specified_by_name)
OpenPOWER on IntegriCloud