Skip to content

Commit

Permalink
Add sleep before deleting sender connection
Browse files Browse the repository at this point in the history
Signed-off-by: Kasiewicz, Marek <marek.kasiewicz@intel.com>
  • Loading branch information
Sakoram committed Nov 22, 2024
1 parent a77f179 commit 5c9a1cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/samples/ping_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ void * sender_thread(void *arg)
}
}

sleep(1);

/* Clean up */
err = mesh_delete_connection(&conn);
if (err)
Expand Down

0 comments on commit 5c9a1cd

Please sign in to comment.