Revise shutdown command function 99/292699/4
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 11 May 2023 07:27:16 +0000 (16:27 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Fri, 12 May 2023 09:08:19 +0000 (18:08 +0900)
commit2de5b1a537624f0fab6e0fce861dc456d93d1dec
tree845269757eabfb05aa4d6b3f446713a7bdf26a0b
parentebfbcac90e0929ca269d70ff672ee1ed0a47f271
Revise shutdown command function

- Previously, camera_stop_preview() and camera_destroy() in shutdown command function could be failed
  when camera_stop_preview() is already executing in task thread by client's request at the same time.
- This patch adds new job to stop preview for shutdown command
  and it prevents to execute camera_stop_preview() in shutdown command and task thread concurrently.

[Version] 0.3.60
[Issue Type] Improvement

Change-Id: I851821788a2c8a8c3c83d6f8155833a4f234b1ef
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
muse/include/muse_camera.h
muse/src/muse_camera_dispatcher.c
packaging/mmsvc-camera.spec