Improve condition checking codes to skip the callback in focus handlers 41/245741/1 accepted/tizen/unified/20201029.124855 submit/tizen/20201015.074718 submit/tizen/20201028.012114 submit/tizen/20201028.023739
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 15 Oct 2020 06:29:01 +0000 (15:29 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 15 Oct 2020 07:00:27 +0000 (16:00 +0900)
commit3e7ecc05119bb398caab1ccc348635f4d3c05580
tree3db8630d1e81748df4d21d50aaff9fa367061ce6
parent0056673b53889a67d5cfb8ee05a216312adae652
Improve condition checking codes to skip the callback in focus handlers

There was seg.fault issue when the race condition happened as below.
 - invoked callback from server VS. unset watch callback by user

Level of some logs are changed to 'info' to debug issues more easily.

[Version] 0.13.2
[Issue Type] Improvement

Change-Id: Ie0dab8bedf538dda61d2313359627387e525a9c7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
mm_sound_focus_private.c
packaging/libmm-sound.spec