diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2011-09-19 09:19:40 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2011-09-26 12:17:59 +0300 |
commit | 010b22cd771b7e81363b4b6521e4265b093fcd25 (patch) | |
tree | fb3f26fce8303ed9c8d7b9c1196e3691bd974a11 /client/display_channel.h | |
parent | cad3c585444f940f60c12789f4174f2d32bec70f (diff) | |
download | spice-010b22cd771b7e81363b4b6521e4265b093fcd25.tar.gz spice-010b22cd771b7e81363b4b6521e4265b093fcd25.tar.xz spice-010b22cd771b7e81363b4b6521e4265b093fcd25.zip |
client: display channel - destroy all surfaces on disconnect
Fix not destroying surfaces and other data (e.g., streams) upon disconnection.
Diffstat (limited to 'client/display_channel.h')
-rw-r--r-- | client/display_channel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/display_channel.h b/client/display_channel.h index 10e1731f..4b3a6608 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); |