Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 6805915

Browse files
Merge pull request #733 from SuperViz/lab
Lab
2 parents 5c79577 + 18f08fb commit 6805915

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

src/components/video/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { Logger } from '../../common/utils';
2222
import { BrowserService } from '../../services/browser';
2323
import config from '../../services/config';
2424
import { ConnectionService } from '../../services/connection-status';
25-
import { RoomStateService } from '../../services/roomState';
25+
import { RoomStateService } from '../../services/room-state';
2626
import VideoConferenceManager from '../../services/video-conference-manager';
2727
import {
2828
CamerasPosition,
@@ -184,6 +184,7 @@ export class VideoConference extends BaseComponent {
184184
destroy();
185185

186186
this.roomState?.destroy();
187+
this.drawingRoom.disconnect();
187188

188189
this.kickParticipantsOnHostLeave = false;
189190

src/services/roomState/index.ts renamed to src/services/room-state/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ export class RoomStateService {
407407
public destroy() {
408408
this.room.presence.off(PresenceEvents.LEAVE);
409409
this.room.presence.off(PresenceEvents.JOINED_ROOM);
410+
this.drawingRoom.presence.off(PresenceEvents.UPDATE);
410411

411412
this.room.off(RoomPropertiesEvents.UPDATE, this.updateLocalRoomState);
412413
}
File renamed without changes.

0 commit comments

Comments
 (0)