Maximum call stack bug fixed
This commit is contained in:
parent
ab2ffecce9
commit
7b61e206f0
|
@ -120,7 +120,7 @@ export default class Peer extends EventTarget
|
|||
});
|
||||
}
|
||||
async send(pack: any){
|
||||
let isOpenedP2P = this.peerConnection;
|
||||
let isOpenedP2P = this.peerConnection && this.rtc?.active;
|
||||
let isOpenedServer = this.mwse.server.connected;
|
||||
let sendChannel : "websocket" | "datachannel";
|
||||
if(isOpenedP2P && isOpenedServer)
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue