[lldb] Assert & fix missing calls to UnregisterPlugin (#185162)
Fix missing calls to UnregisterPlugin and add an assert in the PluginManager that ensures all plugins have been unregistered by the time the plugin manager is destroyed.
This commit is contained in:
1 parent
3e2069d128
commit
c182ca3e3a
20 files changed
+41
-20
No files matched your search
@@ -301,6 +301,7 @@ void ScriptInterpreterPython::Initialize() {
|
||||
|
||||
void ScriptInterpreterPython::Terminate() {
|
||||
ScriptInterpreterPythonInterfaces::Terminate();
|
||||
PluginManager::UnregisterPlugin(ScriptInterpreterPythonImpl::CreateInstance);
|
||||
}
|
||||
|
||||
ScriptInterpreterPythonImpl::Locker::Locker(
|
||||
|
||||
Reference in new issue
Block a user