diff options
author | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-08-09 18:53:06 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-10-10 10:42:48 +0900 |
commit | 5e135d14080e28212c68502c4550f8cc054ae868 (patch) | |
tree | 5b2af94b0602ebf7fe2e1af4cb3374a40dd79f64 | |
parent | c447b8902934dc59166d5ae2b558fbb886b01887 (diff) |
Fix multiple erase of surface informationsandbox/zheng_wenlong/horizontal
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.cpp | 2 |
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); |