summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuta Doi <yuta-d@witz-inc.co.jp>2018-08-09 18:53:06 +0900
committerYuta Doi <yuta-d@witz-inc.co.jp>2018-08-09 18:53:06 +0900
commit38255dcda8e7e9462ed3b16ebe39c638bc9b349f (patch)
tree2094097b1b691599b955a1ff1457580c7ee229d1
parent000e5f8983984d65cc7599908541801ec2babed2 (diff)
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 <yuta-d@witz-inc.co.jp>
-rw-r--r--src/main.cpp2
1 files changed, 0 insertions, 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);