Closed MiguelCompany closed 1 year ago
@MiguelCompany I think this fixes subscription problem, but the same fix should be applied to
on_new_response_m_
andon_new_request_m_
as well?
@fujitatomoya You are right. I've pushed the changes and also changed the PR description accordingly
@fujitatomoya Do you think this can be merged?
@mergifyio backport humble
backport humble
This should fix #646 by calling
get_unread_count
before taking the lock on the mutexon_new_message_m_
.It provides similar fixes for the callback setter on subscriptions, services, and clients.