summaryrefslogtreecommitdiffstats
path: root/client/application.cpp
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
commit6336f9413a23b2aed2513e1380168aa99be4efac (patch)
treebd1103b386fe5e521f537ef529845b415cd676a6 /client/application.cpp
parentb881c4b5caa42544d449e3454a00250f7cd023c0 (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.
Diffstat (limited to 'client/application.cpp')
0 files changed, 0 insertions, 0 deletions