mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-09 14:11:47 +00:00
server: bugfix - make vdi_port_write_retry reiterate if write_queue still not empty
The vdi_port_write_timer_started flag was not being reset, which prevented another vdi_port_write_timer_start from actually starting the timer. Fix is to change order of lines. This happens in the callback of the timer, so no chance of double timer set.
This commit is contained in:
parent
18466b8b55
commit
40232f00ab
@ -1143,8 +1143,8 @@ static void vdi_port_write_timer_start()
|
||||
|
||||
static void vdi_port_write_retry()
|
||||
{
|
||||
write_to_vdi_port();
|
||||
reds->vdi_port_write_timer_started = FALSE;
|
||||
write_to_vdi_port();
|
||||
}
|
||||
|
||||
static int write_to_vdi_port()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user