This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new dd245c51f [OPENMEETINGS-2767] code clean-up
dd245c51f is described below

commit dd245c51ff1308c635ab5330a1710b6327dcd02e
Author: Maxim Solodovnik <solomax...@gmail.com>
AuthorDate: Wed Apr 26 23:11:24 2023 +0700

    [OPENMEETINGS-2767] code clean-up
---
 openmeetings-web/src/main/front/settings/src/WebRtcPeer.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/openmeetings-web/src/main/front/settings/src/WebRtcPeer.js 
b/openmeetings-web/src/main/front/settings/src/WebRtcPeer.js
index bdabed460..a8a3faffc 100644
--- a/openmeetings-web/src/main/front/settings/src/WebRtcPeer.js
+++ b/openmeetings-web/src/main/front/settings/src/WebRtcPeer.js
@@ -128,11 +128,12 @@ class WebRtcPeer {
                        this._signalingStateChangeListener = undefined;
                        if (this._iceConnectionStateChangeListener) {
                                
this.pc.removeEventListener('iceconnectionstatechange', 
this._iceConnectionStateChangeListener);
+                               this._iceConnectionStateChangeListener = 
undefined;
                        }
                        if (this.configuration.onConnectionStateChange) {
                                
this.pc.removeEventListener('connectionstatechange', 
this.configuration.onConnectionStateChange);
                        }
-                               this.configuration = {};
+                       this.configuration = {};
                        this.pc.close();
                        this.remoteCandidatesQueue = [];
                        this.localCandidatesQueue = [];

Reply via email to