mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-10 01:32:16 +00:00
red_channel: stop sending ping messages after migration has completed
We mustn't send any msg to the client, besides MSG_MIGRATE_DATA, after we send MSG_MIGRATE.
This commit is contained in:
parent
1c154ea5ec
commit
df26036552
@ -873,6 +873,11 @@ static void red_channel_client_default_disconnect(RedChannelClient *base)
|
||||
|
||||
void red_channel_client_default_migrate(RedChannelClient *rcc)
|
||||
{
|
||||
if (rcc->latency_monitor.timer) {
|
||||
red_channel_client_cancel_ping_timer(rcc);
|
||||
rcc->channel->core->timer_remove(rcc->latency_monitor.timer);
|
||||
rcc->latency_monitor.timer = NULL;
|
||||
}
|
||||
red_channel_client_pipe_add_type(rcc, PIPE_ITEM_TYPE_MIGRATE);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user