From 5e135d14080e28212c68502c4550f8cc054ae868 Mon Sep 17 00:00:00 2001 From: Yuta Doi Date: Thu, 9 Aug 2018 18:53:06 +0900 Subject: Fix multiple erase of surface information When application is killed and the surface is destroyed, the surface informations is erased twice. Therefore remove the one eracing process. Change-Id: I707febf5b5003058bcf847f635c16fb0d68e01d0 Signed-off-by: Yuta Doi --- src/main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index b5659e2..261df8b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -203,8 +203,6 @@ static void cbRemoveClientCtxt(void *data) } g_afb_instance->wmgr.id_alloc.remove_id(sid); g_afb_instance->wmgr.layers.remove_surface(sid); - g_afb_instance->wmgr.controller->sprops.erase(sid); - g_afb_instance->wmgr.controller->surfaces.erase(sid); HMI_DEBUG("wm", "delete surfaceID %d", sid); } g_afb_instance->wmgr.removeClient(ctxt->name); -- cgit 1.2.3-korg