mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 08:53:34 +08:00
Final refactoring and implementation of delayed window deletion logic. Works worse now, but the changes are important and need to be checked in now
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4747 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -90,6 +90,7 @@ void nx_disconnect(NXHANDLE handle)
|
||||
{
|
||||
FAR struct nxfe_conn_s *conn = (FAR struct nxfe_conn_s *)handle;
|
||||
struct nxsvrmsg_s outmsg;
|
||||
int ret;
|
||||
|
||||
/* Inform the server that this client no longer exists */
|
||||
|
||||
@@ -98,6 +99,10 @@ void nx_disconnect(NXHANDLE handle)
|
||||
|
||||
/* We will finish the teardown upon receipt of the DISCONNECTED message */
|
||||
|
||||
return nxmu_sendserver(conn, &outmsg, sizeof(struct nxsvrmsg_s));
|
||||
ret = nxmu_sendserver(conn, &outmsg, sizeof(struct nxsvrmsg_s));
|
||||
if (ret < 0)
|
||||
{
|
||||
gdbg("ERROR: nxmu_sendserver() returned %d\n", ret);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user