mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-25 18:06:54 +00:00
server/reds: don't remove agent if it's not connected
This commit is contained in:
parent
26cd666be5
commit
e7e667f81d
@ -2537,7 +2537,7 @@ static void spice_server_char_device_remove_interface(SpiceBaseInstance *sin)
|
||||
|
||||
red_printf("remove CHAR_DEVICE %s", char_device->subtype);
|
||||
if (strcmp(char_device->subtype, SUBTYPE_VDAGENT) == 0) {
|
||||
if (vdagent) {
|
||||
if (vdagent && reds->agent_state.connected) {
|
||||
reds_agent_remove();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user