Removing dead code
This commit is contained in:
parent
76261de805
commit
3b278d0498
6 changed files with 9 additions and 189 deletions
|
@ -8,6 +8,7 @@ import type {UserSimplePeerInterface} from "./SimplePeer";
|
|||
import {get, readable, Readable} from "svelte/store";
|
||||
import {obtainedMediaConstraintStore} from "../Stores/MediaStore";
|
||||
import {DivImportance} from "./LayoutManager";
|
||||
import {discussionManager} from "./DiscussionManager";
|
||||
|
||||
const Peer: SimplePeerNamespace.SimplePeer = require('simple-peer');
|
||||
|
||||
|
@ -234,7 +235,7 @@ export class VideoPeer extends Peer {
|
|||
}
|
||||
this.onBlockSubscribe.unsubscribe();
|
||||
this.onUnBlockSubscribe.unsubscribe();
|
||||
mediaManager.removeActiveVideo("" + this.userId);
|
||||
discussionManager.removeParticipant(this.userId);
|
||||
// FIXME: I don't understand why "Closing connection with" message is displayed TWICE before "Nb users in peerConnectionArray"
|
||||
// I do understand the method closeConnection is called twice, but I don't understand how they manage to run in parallel.
|
||||
super.destroy(error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue