summaryrefslogtreecommitdiffstats
path: root/server/spicevmc.c
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2011-12-22 12:51:41 +0200
committerYonit Halperin <yhalperi@redhat.com>2011-12-22 12:58:25 +0200
commitfe001ca19df448104b9cd29d19edb7ebd32fe9bf (patch)
treea806c3b55a8817ed89970a998c64e45df077d999 /server/spicevmc.c
parent8b797180eef47af9997e7658a0d0e30baa42d2aa (diff)
downloadspice-fe001ca19df448104b9cd29d19edb7ebd32fe9bf.tar.gz
spice-fe001ca19df448104b9cd29d19edb7ebd32fe9bf.tar.xz
spice-fe001ca19df448104b9cd29d19edb7ebd32fe9bf.zip
server: don't reset the display channel when disconnecting all its clients ,FDBZ #43977
The display channel was unnecessarily set to NULL when we disconnect all the clients (on flush display commands timeout). As a result, we recreated the display channel when a new client was connected. The display channel was created with default red_channel.client_cbs, while its correct client_cbs are the ones that are set by the red_dispatcher when it creates the first display_channel. This fix enforces a single creation of the display channel (per qxl), via the red_dispatcher.
Diffstat (limited to 'server/spicevmc.c')
0 files changed, 0 insertions, 0 deletions