From 3a1473760c0bb5da719e39ebe5cce02f5325904c Mon Sep 17 00:00:00 2001 From: Yonit Halperin Date: Mon, 19 Sep 2011 09:19:40 +0300 Subject: client: display channel - destroy all surfaces on disconnect Fix not destroying surfaces and other data (e.g., streams) upon disconnection. (cherry picked from commit 010b22cd771b7e81363b4b6521e4265b093fcd25 branch 0.8) --- client/display_channel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'client/display_channel.h') diff --git a/client/display_channel.h b/client/display_channel.h index 30a76e27..61109edf 100644 --- a/client/display_channel.h +++ b/client/display_channel.h @@ -179,6 +179,7 @@ private: void activate_streams_timer(); void stream_update_request(uint32_t update_time); void reset_screen(); + void clear(bool destroy_primary = true); static void set_clip_rects(const SpiceClip& clip, uint32_t& num_clip_rects, SpiceRect*& clip_rects); -- cgit