Fix lock up issue when no response from muse-server 60/169860/1
authorJeongmo Yang <jm80.yang@samsung.com>
Wed, 7 Feb 2018 11:55:45 +0000 (20:55 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Mon, 12 Feb 2018 01:38:32 +0000 (10:38 +0900)
commit137b60b044446f90fbeb504e12874c9325cecf62
treed07f6b3e1da84949784cc7d8ecf014939da860ef
parentedf0e298479c0f1378c28a0caf75d5e5831b7b8a
Fix lock up issue when no response from muse-server

- "camera_create" is not returned if no msg is received from muse-server after requested,
  so, we should close fd to receive msg from muse-server, then we can return error properly.

[Version] 0.4.4
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-4.0-unified_20180207.1]

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