Skip to content

v6.6.1

Choose a tag to compare

@github-actions github-actions released this 07 Apr 20:12
· 31 commits to main since this release
8c6fdfb

Fixed

  • nostr-sdk Rust memory leak: Client and EventStream FFI objects allocated memory on the Rust side invisible to Python's garbage collector, causing the Synchronizer to reach 27 GB RSS. EventStream references are now explicitly deleted after consumption, clients are shut down (not just disconnected) when discarded, and gc.collect() is called after each relay in the Synchronizer to trigger PyO3 destructors
  • Inconsistent client cleanup across services: connect_relay() error paths and is_nostr_relay() used disconnect() (closes WebSocket only) instead of shutdown() (releases entire Rust Client). NIP-66 RTT _cleanup() had the same issue. All now use shutdown() when the client is being discarded