diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2025-10-14 15:00:47 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2025-10-16 17:44:32 +0200 |
commit | 03ec40942d678ef1e98439508d1cdb2c05ff3e72 (patch) | |
tree | 2ea4a1444f7696a4b79d8d8752c72ae081e1ea9c /scripts/lib/kdoc/kdoc_files.py | |
parent | 5c2a4b59fad21a3e71b7a8c155d374af952b585f (diff) | |
download | qemu-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