When establishing a communication channel between the 2 process
we create 2 sockets endpoints and one is sent to the process we
are communicating to. We close our end of the endpoint when the
application is gone.
BUG=TC-2361
Change-Id: I8ad09816d8f9388171162768c057090b63dbe929
void RunningApplicationObject::TerminateApplication() {
application_->Terminate();
+
+ if (ep_bp_channel_.socket.fd != -1)
+ close(ep_bp_channel_.socket.fd);
}
void RunningApplicationObject::OnExported(const std::string& interface_name,