Skip to content

webrtc: Avoid memory leaks by cleaning stale hashmap entries#549

Merged
lexnv merged 1 commit intomasterfrom
lexnv/fixmem
Mar 2, 2026
Merged

webrtc: Avoid memory leaks by cleaning stale hashmap entries#549
lexnv merged 1 commit intomasterfrom
lexnv/fixmem

Conversation

@lexnv
Copy link
Collaborator

@lexnv lexnv commented Feb 27, 2026

Ensure hashmap open entries are cleaned as soon as the tx channel of the connection gets dropped to avoid subtle memory leaks.

cc @haikoschol @dmitry-markin

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
@lexnv lexnv self-assigned this Feb 27, 2026
@lexnv lexnv merged commit 7baec4b into master Mar 2, 2026
8 checks passed
@lexnv lexnv deleted the lexnv/fixmem branch March 2, 2026 09:47
dmitry-markin added a commit that referenced this pull request Mar 2, 2026
## [0.13.2] - 2026-03-02

This is a hotfix release fixing ping protocol panic in debug builds. The
release also includes WebRTC fixes.

### Fixed

- webrtc/fix: Ensure delay future is awaited
([#548](#548))
- ping: Fix panic in debug builds
([#551](#551))
- webrtc: Ensure nonstun packets cannot panic transport layer
([#550](#550))
- webrtc: Avoid memory leaks by cleaning stale hashmap entries
([#549](#549))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants