fix bug: Do not set tzsh->ec to NULL before e_policy_wl_tzsh_client_del() 98/114598/2 accepted/tizen/3.0/common/20170215.121340 accepted/tizen/3.0/ivi/20170215.034445 accepted/tizen/3.0/mobile/20170215.034308 accepted/tizen/3.0/tv/20170215.034353 accepted/tizen/3.0/wearable/20170215.034419 accepted/tizen/common/20170214.173933 accepted/tizen/ivi/20170214.230328 accepted/tizen/mobile/20170214.230217 accepted/tizen/tv/20170214.230245 accepted/tizen/wearable/20170214.230313 submit/tizen/20170214.120015 submit/tizen_3.0/20170214.120137
authorDuna Oh <duna.oh@samsung.com>
Tue, 14 Feb 2017 06:35:44 +0000 (15:35 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 14 Feb 2017 11:56:56 +0000 (03:56 -0800)
e_policy_wl_client_del() is always called before e_policy_wl_tzsh_client_del().
Since setting tzsh->ec to NULL here, we could not reach to e_qp_client_del(tzsh->ec).
This patch solves issues related to quickpanel.

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I986ff3784d1359f33330d1387ae5e22b9139577d

src/bin/e_policy_wl.c

index c7349cc..98c4d1a 100644 (file)
@@ -503,8 +503,6 @@ _e_policy_wl_tzsh_client_unset(E_Client *ec)
    tzsh = _e_policy_wl_tzsh_get_from_client(ec);
    if (!tzsh) return;
 
-   tzsh->ec = NULL;
-
    if (tzsh->type == TZSH_TYPE_SRV)
      {
         tzsh_srv = polwl->srvs[TZSH_SRV_ROLE_TVSERVICE];