Update idle event handling to fix crash in idle event callback 91/191891/2
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 25 Oct 2018 01:52:34 +0000 (10:52 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 25 Oct 2018 04:51:12 +0000 (13:51 +0900)
commitf45181f193b105927c78374f06606811b19062cc
tree57ab1c8a002d02bd1ef468ee27c69338e418df53
parentbb5f4008b3cb5b5f684f9cbf8948267eb45bdfb5
Update idle event handling to fix crash in idle event callback

- The idle event could be called after handle is destroyed.
- ASan issue : TDAF-748

[Version] 0.4.16
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A

Change-Id: I70466177edc1451669ef664f880fbb3f9f786f02
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
include/camera_private.h
packaging/capi-media-camera.spec
src/camera.c