fix(external_api): fire videoConferenceLeft event on unload (#2243)

This commit is contained in:
hristoterezov 2017-12-04 12:33:58 -06:00 committed by virtuacoplenny
parent 569b3547c8
commit eae9ddabad
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ window.addEventListener('beforeunload', () => {
APP.logCollector.stop();
APP.logCollectorStarted = false;
}
APP.API.notifyConferenceLeft(APP.conference.roomName);
APP.API.dispose();
getJitsiMeetTransport().dispose();
});