Skip to content

Conversation

@deepak0x
Copy link
Contributor

@deepak0x deepak0x commented Jan 17, 2026

This PR fixes a memory leak in the useMediaRecorder and useNewMediaRecorder hooks where event listeners attached to MediaRecorder instances were never removed, causing unused recorder instances to remain in memory after each recording session.

Closes #1073

Video/Screenshots

PR Test Details

Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-<pr_number> after approval. Contributors are requested to replace <pr_number> with the actual PR number.

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.

Bug: Event Listener Memory Leak in useMediaRecorder Hook

1 participant