diff options
author | Greg Clayton <gclayton@apple.com> | 2014-04-25 23:55:12 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2014-04-25 23:55:12 +0000 |
commit | ed6499fe64d43252200d9ca40ba698de63616432 (patch) | |
tree | a2b3bebf3dfb530c7b50582456dc4f3679aa8002 /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | 363b570d2a8b6bb4f1d921cbcd95b53ee3cf2a41 (diff) | |
download | bcm5719-llvm-ed6499fe64d43252200d9ca40ba698de63616432.tar.gz bcm5719-llvm-ed6499fe64d43252200d9ca40ba698de63616432.zip |
Free the strong reference to a lldb::SBDebugger that the script interpreter was holding onto in the "lldb.debugger" global variable.
llvm-svn: 207292
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 980a45a2a00..aa400aa7ce7 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -355,6 +355,9 @@ void CommandInterpreter::Clear() { m_command_io_handler_sp.reset(); + + if (m_script_interpreter_ap) + m_script_interpreter_ap->Clear(); } const char * |