mnetship / ratsio

NATS & NATS Streaming Server client library for Rust
MIT License
50 stars 22 forks source link

Dropping client_inner state lock #24

Open duizabojul opened 3 years ago

duizabojul commented 3 years ago

Instances of NatsClientInner are hanging on several code path because state RwLock is acquired and not dropped before next tentative of lock.

Ask if you want some examples but it's pretty straightforward :)