From 2024d8fe892ebeec43b4dd5af32ae869f17dd805 Mon Sep 17 00:00:00 2001 From: Ian Silva Date: Tue, 27 Aug 2024 07:42:16 -0300 Subject: [PATCH] fix: only publish destroy on destroy method --- src/components/video/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/video/index.ts b/src/components/video/index.ts index db3b2a94..2f534c91 100644 --- a/src/components/video/index.ts +++ b/src/components/video/index.ts @@ -609,7 +609,6 @@ export class VideoConference extends BaseComponent { }); this.connectionService.removeListeners(); - this.publish(MeetingEvent.DESTROY); this.publish(MeetingEvent.MY_PARTICIPANT_LEFT, this.localParticipant); this.unsubscribeFromVideoEvents();