зеркало из https://github.com/nextcloud/spreed.git
Fix raised hand handler not detached when peer is destroyed
This fixes a memory leak, as the reference to the Peer object was retained forever by the webrtc object. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Родитель
394caa68f7
Коммит
08afd89909
|
@ -97,6 +97,7 @@ CallParticipantModel.prototype = {
|
|||
this._webRtc.off('mute', this._handleMuteBound)
|
||||
this._webRtc.off('unmute', this._handleUnmuteBound)
|
||||
this._webRtc.off('channelMessage', this._handleChannelMessageBound)
|
||||
this._webRtc.off('raisedHand', this._handleRaisedHandBound)
|
||||
},
|
||||
|
||||
get: function(key) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче