[Lldb-commits] [lldb] 791f132 - [lldb] Remove out of order OperatingSystemPython::Terminate call in SystemInitializerFull

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 17 04:03:19 PST 2020


Author: Raphael Isemann
Date: 2020-01-17T13:02:15+01:00
New Revision: 791f132132b2078cc0171e58332159cd5dafa55e

URL: https://github.com/llvm/llvm-project/commit/791f132132b2078cc0171e58332159cd5dafa55e
DIFF: https://github.com/llvm/llvm-project/commit/791f132132b2078cc0171e58332159cd5dafa55e.diff

LOG: [lldb] Remove out of order OperatingSystemPython::Terminate call in SystemInitializerFull

We already call it later in the method (which is in the right order as we Initialize it
at the of the constructor).

Added: 
    

Modified: 
    lldb/source/API/SystemInitializerFull.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/API/SystemInitializerFull.cpp b/lldb/source/API/SystemInitializerFull.cpp
index df5270f7234f..7e4398a042e2 100644
--- a/lldb/source/API/SystemInitializerFull.cpp
+++ b/lldb/source/API/SystemInitializerFull.cpp
@@ -388,9 +388,6 @@ void SystemInitializerFull::Terminate() {
   DynamicLoaderStatic::Terminate();
   DynamicLoaderWindowsDYLD::Terminate();
 
-#if LLDB_ENABLE_PYTHON
-  OperatingSystemPython::Terminate();
-#endif
 
   platform_freebsd::PlatformFreeBSD::Terminate();
   platform_linux::PlatformLinux::Terminate();


        


More information about the lldb-commits mailing list