summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2011-07-05 15:30:49 +0300
committerYonit Halperin <yhalperi@redhat.com>2011-07-05 17:23:39 +0300
commitd1ff352fc3a52f67b8cd805cd9641c3bcfa68cee (patch)
treeb897e0c58973546d9d55ded0b1d1930aa585a654
parentcbd6857ed6ed9667335462a208a67f78e3263f8e (diff)
server: display_channel: releasing pipe items resources when the pipe is cleared (on disconnect)
fixes "display_channel_release_item: panic: invalid item type" Before changing the red_worker to use the red_channel interface, there was a devoted red_pipe_clear routine for the display channel and cursor channel. However, clearing the pipe in red_channel, uses the release_item callback the worker provided. This callback has handled only resources that need to be released after the pipe item was enqueued from the pipe, and only for pipe items that were set in red_channel_init_send_data. This fix changes the display channel release_item callback to handle all types of pipe items, and also handles differently pushed and non-pushed pipe items.
0 files changed, 0 insertions, 0 deletions