diff options
-rw-r--r-- | src/wayland.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wayland.cpp b/src/wayland.cpp index e22f4a6..625dbb0 100644 --- a/src/wayland.cpp +++ b/src/wayland.cpp @@ -551,6 +551,7 @@ void controller::surface_stats(uint32_t id, uint32_t redraw_count, void controller::surface_destroyed(uint32_t id) { logdebug("genivi::surface %s @ %p", __func__, this->proxy); + this->surfaces.erase(id); } void controller::surface_content(uint32_t id, int32_t content_state) { |