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(); } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits