e_policy_visibility: do not remove vc->buf_attach event handler while executing pende... 23/269823/1 accepted/tizen/unified/20220121.123008 submit/tizen/20220120.081949
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:06:20 +0000 (17:06 +0900)
commitdcab04c1a205cf595b53afea27c0cb633097ffa3
tree5b58334ef86b315ee29c21080491a934e25a56b1
parent798ecd4e56b06d6f04c8edf8f05dcdbdd575f26e
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