[lldb] Remove out of order OperatingSystemPython::Terminate call in SystemInitializerFull
authorRaphael Isemann <teemperor@gmail.com>
Fri, 17 Jan 2020 12:01:48 +0000 (13:01 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Fri, 17 Jan 2020 12:02:15 +0000 (13:02 +0100)
We already call it later in the method (which is in the right order as we Initialize it
at the of the constructor).

lldb/source/API/SystemInitializerFull.cpp

index df5270f7234f7ac2c43f667d41af1927052edd34..7e4398a042e260297ba58044a16897a25482dd0a 100644 (file)
@@ -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();