You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after a talk with gdamore I was informed, that nng only takes ownership of a msg if the
associated send operation was successful. If the operation wasn't successful the message
will no be free'd.
So I think the current move operator implementation in aio_view should be deleted.
I can hopefully do a pull request for that in the coming days.
The text was updated successfully, but these errors were encountered:
It's my thinking that calling release_msg in the completion callback when some error has occurred is a best practice based on how the underlying library works. It's awfully easy to overlook, but on the upside it isn't an error to call release_msg on an AIO that doesn't own a message.
Hey everyone,
after a talk with gdamore I was informed, that nng only takes ownership of a
msg
if theassociated
send
operation was successful. If the operation wasn't successful the messagewill no be free'd.
So I think the current move operator implementation in
aio_view
should be deleted.I can hopefully do a pull request for that in the coming days.
The text was updated successfully, but these errors were encountered: