Skip to content

Commit f2d41ad

Browse files
committed
[lldb] Add missing terminate calls to Python/Lua subsystems
1 parent 49edf9a commit f2d41ad

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lldb/source/API/SystemInitializerFull.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,18 @@ void SystemInitializerFull::Terminate() {
414414
ObjectContainerBSDArchive::Terminate();
415415
ObjectContainerUniversalMachO::Terminate();
416416

417+
#if LLDB_ENABLE_PYTHON
418+
OperatingSystemPython::Terminate();
419+
#endif
420+
421+
#if LLDB_ENABLE_PYTHON
422+
ScriptInterpreterPython::Terminate();
423+
#endif
424+
425+
#if LLDB_ENABLE_LUA
426+
ScriptInterpreterLua::Terminate();
427+
#endif
428+
417429
// Now shutdown the common parts, in reverse order.
418430
SystemInitializerCommon::Terminate();
419431
}

0 commit comments

Comments
 (0)