Skip to content

Commit

Permalink
Cleanup pending query only on final
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Nov 13, 2024
1 parent 345e02a commit 2865860
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/session/liveliness.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,6 @@ z_result_t _z_liveliness_pending_query_reply(_z_session_t *zn, uint32_t interest
}
}

if (ret == _Z_RES_OK) {
_z_liveliness_pending_query_intmap_remove(&zn->_liveliness_pending_queries, interest_id);
}

_zp_session_unlock_mutex(zn);

return ret;
Expand Down

0 comments on commit 2865860

Please sign in to comment.