aboutsummaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-10-14 15:00:47 +0100
committerThomas Huth <thuth@redhat.com>2025-10-16 17:44:32 +0200
commit03ec40942d678ef1e98439508d1cdb2c05ff3e72 (patch)
tree2ea4a1444f7696a4b79d8d8752c72ae081e1ea9c /scripts/lib/kdoc/kdoc_files.py
parent5c2a4b59fad21a3e71b7a8c155d374af952b585f (diff)
downloadqemu-03ec40942d678ef1e98439508d1cdb2c05ff3e72.zip
qemu-03ec40942d678ef1e98439508d1cdb2c05ff3e72.tar.gz
qemu-03ec40942d678ef1e98439508d1cdb2c05ff3e72.tar.bz2
tests/functional: ensure GDB client is stopped on error
If the reverse_debugging_run method fails, the GDB client will not be closed resulting in python complaining about resource leaks. Hoisting the GDB client creation into the caller allows this to be cleaned up easily. While doing this, also move the VM shutdown call to match. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20251014140047.385347-3-berrange@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions