forked from sagi/seepur
Fixed an error on closing a call
This commit is contained in:
parent
d73ad6491c
commit
21ef1e25b2
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class CallSession {
|
||||||
this.callModel.save();
|
this.callModel.save();
|
||||||
}
|
}
|
||||||
if (this.user_1.socket) this.user_1.socket.close();
|
if (this.user_1.socket) this.user_1.socket.close();
|
||||||
if (this.user_2.socket) this.user_1.socket.close();
|
if (this.user_2.socket) this.user_2.socket.close();
|
||||||
clearInterval(this.heartbeat);
|
clearInterval(this.heartbeat);
|
||||||
this.onCallEndedCallback(this.callId);
|
this.onCallEndedCallback(this.callId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue