Observed behavior
Why is there no retain(nc) in the natsLibevent_Attach function, and then a corresponding decrement in natsLibevent_Detach()?
Instead, the retain(nc) is done in natsConnection_ProcessReadEvent(). What's the purpose? and it doesn't feel very intuitive.
Expected behavior
retain(nc) in the natsLibevent_Attach function, and then a corresponding decrement in natsLibevent_Detach()
Server and client version
client:3.10.1
Host environment
No response
Steps to reproduce
No response