From 92a48ccfc61ae0452bc814c3baa4e4c0ce885890 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Thu, 31 May 2018 19:19:44 +0900 Subject: [PATCH 1/1] Remove client when the app is terminated Change-Id: I06f5ef9f7cac0d73fa40980faa9ec0c0583fc41b Signed-off-by: Kazumasa Mitsunari --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 2cfabb0..60f8164 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -201,6 +201,7 @@ static void cbRemoveClientCtxt(void *data) g_afb_instance->app.controller->surfaces.erase(sid); HMI_DEBUG("wm", "delete surfaceID %d", sid); } + g_afb_instance->app.removeClient(ctxt->name); delete ctxt; } -- 2.16.6