summary refs log tree commit diff stats
path: root/python/qemu/machine/machine.py
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2021-08-05 17:57:06 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2021-08-31 17:25:14 +0400
commit5e0a24e8685892f52826567b216fe34f98bc9d58 (patch)
tree288ee321f98d79cdd59a4eb25abc7ba803314bf0 /python/qemu/machine/machine.py
parent7424bfaa99b629e243bf05debd3eeb69c1dd670f (diff)
downloadfocaccia-qemu-5e0a24e8685892f52826567b216fe34f98bc9d58.tar.gz
focaccia-qemu-5e0a24e8685892f52826567b216fe34f98bc9d58.zip
ui/vdagent: disconnect handlers and reset state on finalize
Avoid handlers being called with dangling pointers when the object is
freed.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210805135715.857938-10-marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'python/qemu/machine/machine.py')
0 files changed, 0 insertions, 0 deletions