From 5b9ada22f78a3122f42bd325cdeb835faaef2d7f Mon Sep 17 00:00:00 2001 From: "Junseok, Kim" Date: Mon, 6 Jul 2020 16:13:41 +0900 Subject: [PATCH] e_policy_visibility: cancel client_lower if ec is unmapped if the client lower when ec is unmapped, then "post_lower" flag of ec may not be set. it is timing issue and cause of running e_policy_visibility_client_lower. for prevent this issue, return false if client is unmapped. Change-Id: Iea6bc0cb823f06c85e659c248d8de36ecd0bc5b2 Signed-off-by: Junseok, Kim --- src/bin/e_policy_visibility.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bin/e_policy_visibility.c b/src/bin/e_policy_visibility.c index 5a327b5..328b2a7 100644 --- a/src/bin/e_policy_visibility.c +++ b/src/bin/e_policy_visibility.c @@ -2310,6 +2310,12 @@ e_policy_visibility_client_lower(E_Client *ec) E_VIS_CLIENT_GET_OR_RETURN_VAL(vc, ec, EINA_FALSE); + if ((ec->comp_data) && (!ec->comp_data->mapped)) + { + VS_DBG(ec, "client Unmapped."); + return EINA_FALSE; + } + VS_DBG(ec, "API ENTRY | LOWER"); /* if vc has job grab, release them */ -- 2.7.4