Merge remote-tracking branch 'origin/lotus' into fix/call-disconnected-bar

# Conflicts:
#	src/app/components/CallEmbedProvider.tsx
This commit is contained in:
Lotus CI
2026-10-18 15:39:59 -04:00
89 changed files with 2231 additions and 503 deletions
+7
View File
@@ -94,6 +94,13 @@ export class CallControl extends EventEmitter implements CallControlState {
constructor(state: CallControlState, call: ClientWidgetApi, iframe: HTMLIFrameElement) {
super();
// [Gitea #316] More than 10 call features subscribe to state_update at once
// (call bar, controls, hotkeys, AFK, muted-talk, join/leave sounds,
// announcements, rejoin, policy toast, glance, desktop thumbbar/SMTC …).
// Hitting the default limit logged a MaxListenersExceededWarning, and the
// console then kept this CallControl — and through it the whole Element Call
// document — alive: ~11 MB leaked per call. These are not leaks, so lift it.
this.setMaxListeners(100);
this.state = state;
this.call = call;