feat(external_api): notify when api is disposed
This commit is contained in:
parent
b6e2701991
commit
5739e1deaa
|
@ -256,7 +256,7 @@ changes. The listener will receive an object with the following structure:
|
|||
|
||||
* **readyToClose** - event notification fired when Jitsi Meet is ready to be closed (hangup operations are completed).
|
||||
|
||||
* **subjectChange** - event notifications about subject of conference changes.
|
||||
* **subjectChange** - event notifications about subject of conference changes.
|
||||
The listener will receive an object with the following structure:
|
||||
```javascript
|
||||
{
|
||||
|
|
|
@ -534,6 +534,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
|||
* @returns {void}
|
||||
*/
|
||||
dispose() {
|
||||
this.emit('_willDispose');
|
||||
this._transport.dispose();
|
||||
this.removeAllListeners();
|
||||
if (this._frame) {
|
||||
|
|
Loading…
Reference in New Issue