[Lldb-commits] [lldb] f2d41ad - [lldb] Add missing terminate calls to Python/Lua subsystems
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 17 03:50:17 PST 2020
Author: Raphael Isemann
Date: 2020-01-17T12:49:57+01:00
New Revision: f2d41ad0e7e0b6b44641eafa70ef76df6a618810
URL: https://github.com/llvm/llvm-project/commit/f2d41ad0e7e0b6b44641eafa70ef76df6a618810
DIFF: https://github.com/llvm/llvm-project/commit/f2d41ad0e7e0b6b44641eafa70ef76df6a618810.diff
LOG: [lldb] Add missing terminate calls to Python/Lua subsystems
Added:
Modified:
lldb/source/API/SystemInitializerFull.cpp
Removed:
################################################################################
diff --git a/lldb/source/API/SystemInitializerFull.cpp b/lldb/source/API/SystemInitializerFull.cpp
index 2bc53af91d00..df5270f7234f 100644
--- a/lldb/source/API/SystemInitializerFull.cpp
+++ b/lldb/source/API/SystemInitializerFull.cpp
@@ -414,6 +414,18 @@ void SystemInitializerFull::Terminate() {
ObjectContainerBSDArchive::Terminate();
ObjectContainerUniversalMachO::Terminate();
+#if LLDB_ENABLE_PYTHON
+ OperatingSystemPython::Terminate();
+#endif
+
+#if LLDB_ENABLE_PYTHON
+ ScriptInterpreterPython::Terminate();
+#endif
+
+#if LLDB_ENABLE_LUA
+ ScriptInterpreterLua::Terminate();
+#endif
+
// Now shutdown the common parts, in reverse order.
SystemInitializerCommon::Terminate();
}
More information about the lldb-commits
mailing list