In signal handler, fds will be closed in fd-id table,
but, closed fd by muse_core_connection_close is not removed from table.
It can cause unexpected behavior in signal handler,
so new API is added and it removes closed fd in fd-id table.
[Version] 0.3.5
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20170825.1]
Change-Id: Ie3ad3203f6b5f5d6d01789f0c46be07ce8a9f220
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Name: capi-media-camera
Summary: A Camera API
-Version: 0.3.4
+Version: 0.3.5
Release: 0
Group: Multimedia/API
License: Apache-2.0
}
if (cb_info->fd > -1) {
- muse_core_connection_close(cb_info->fd);
+ muse_client_close(cb_info->fd);
cb_info->fd = -1;
}
_REQUEST_EXIT:
if (sock_fd > -1) {
- muse_core_connection_close(sock_fd);
+ muse_client_close(sock_fd);
sock_fd = -1;
}
}
if (sock_fd > -1) {
- muse_core_connection_close(sock_fd);
+ muse_client_close(sock_fd);
sock_fd = -1;
}