nats-io / nats.c

A C client for NATS
Apache License 2.0
390 stars 137 forks source link

Test for jetstream message destruction async #792

Closed thierryba closed 2 months ago

thierryba commented 2 months ago

This shows in a example that if one is using natsMsg_Destroy a bit "too late", the message is already destroyed and this code will crash.

kozlovic commented 2 months ago

See comment in https://github.com/nats-io/nats.c/issues/793