diff --git a/app/Controllers/Ws/SignalingController.js b/app/Controllers/Ws/SignalingController.js index f4931b8..9a8f80e 100644 --- a/app/Controllers/Ws/SignalingController.js +++ b/app/Controllers/Ws/SignalingController.js @@ -119,7 +119,7 @@ class CallSession { this.callModel.save(); } 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); this.onCallEndedCallback(this.callId); }