e_policy_visibility: do not remove vc->buf_attach event handler while executing pende... 24/269824/1 accepted/tizen/6.5/unified/20220121.123631 submit/tizen_6.5/20220120.081914
authorDoyoun Kang <doyoun.kang@samsung.com>
Thu, 20 Jan 2022 06:24:27 +0000 (15:24 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Thu, 20 Jan 2022 08:07:36 +0000 (17:07 +0900)
commitbed0d1f88ef92d60b775a0ec52ea4d221cf2ccee
tree5b58334ef86b315ee29c21080491a934e25a56b1
parentd51175deba4d54e9db0c5e016e9fa2dc4845b606
e_policy_visibility: do not remove vc->buf_attach event handler while executing pended job

There was an issue that the E_Vis_Grab resource which was wating for buffer attach event
couldn't freed if the E_Vis_Grab's timer was expired.
This resource would be freed when the E_Client was destroyed.
However, if the E_Client is not destroyed, then the memory can be increased continuousely.

This patch makes the E_Vis_Grab resource to be freed when a timeout is occured.

Change-Id: Ia6a1bee0ddeddaef42a52bd384ba50d027033827
src/bin/e_policy_visibility.c