Skip to content

Commit

Permalink
Try to fix macos tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Jan 16, 2025
1 parent 18f82ef commit f5bdea9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/net/matching.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,11 @@ z_result_t _z_matching_listener_entity_undeclare(_z_session_t *zn, _z_zint_t ent
_z_matching_listener_state_t *listener = _z_matching_listener_intmap_iterator_value(&iter);
if (listener->entity_id == entity_id) {
_Z_DEBUG("_z_matching_listener_entity_undeclare: entity=%i, listener=%i", (int)entity_id, (int)key);
_z_matching_listener_intmap_remove(&zn->_matching_listeners, key);
_Z_DEBUG("_z_matching_listener_entity_undeclare 1");
_z_remove_interest(zn, listener->interest_id);
_Z_DEBUG("_z_matching_listener_entity_undeclare 1");
_z_matching_listener_intmap_remove(&zn->_matching_listeners, key);
_Z_DEBUG("_z_matching_listener_entity_undeclare 2");
}
_z_str_intmap_iterator_next(&iter);
}
_Z_DEBUG("_z_matching_listener_entity_undeclare done");
return _Z_RES_OK;
Expand Down

0 comments on commit f5bdea9

Please sign in to comment.