Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
spice-vdagent
cleanup-active_xfers-when-the-client-disconnect...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cleanup-active_xfers-when-the-client-disconnects.patch of Package spice-vdagent
From 967619a3b505726fe63573d8258b2ec7434fd625 Mon Sep 17 00:00:00 2001 From: Uri Lublin <uril@redhat.com> Date: Wed, 7 Oct 2020 19:34:57 +0300 Subject: [PATCH 19/20] cleanup active_xfers when the client disconnects Git-commit: 4c9b44cda86f3a220513bf7ec79d79cca4d75d49 References: bsc#1173749 Signed-off-by: Uri Lublin <uril@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com> Signed-off-by: Bruce Rogers <brogers@suse.com> --- src/vdagentd/vdagentd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vdagentd/vdagentd.c b/src/vdagentd/vdagentd.c index 90eacbe..5553e6f 100644 --- a/src/vdagentd/vdagentd.c +++ b/src/vdagentd/vdagentd.c @@ -165,6 +165,7 @@ static void send_capabilities(struct vdagent_virtio_port *vport, static void do_client_disconnect(void) { + g_hash_table_remove_all(active_xfers); if (client_connected) { udscs_server_write_all(server, VDAGENTD_CLIENT_DISCONNECTED, 0, 0, NULL, 0); -- 2.29.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor