Safe guard for removed parent node of the iframe.
This commit is contained in:
parent
97e8b31cee
commit
bb3a10b0fc
|
@ -561,7 +561,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
|||
this.emit('_willDispose');
|
||||
this._transport.dispose();
|
||||
this.removeAllListeners();
|
||||
if (this._frame) {
|
||||
if (this._frame && this._frame.parentNode) {
|
||||
this._frame.parentNode.removeChild(this._frame);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue