Change-Id: Idb201ddb6152235b93f85126032b72f831540503
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
if (ret < 0)
return aul_error_convert(ret);
- ret = aul_sock_recv_reply_sock_fd(client.GetFd(), &fds, 1);
+ ret = aul_sock_recv_reply_sock_fd(client.RemoveFd(), &fds, 1);
if (ret != 0)
return aul_error_convert(ret);
} catch (Exception& e) {
void ProcessReadEvent() {
app_pkt_t* pkt = nullptr;
int ret = aul_sock_recv_reply_pkt(fd_, &pkt);
+ fd_ = -1;
if (ret < 0 || pkt == nullptr) {
ProcessErrorEvent();
return;