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

This commit is contained in:
hristoterezov
2017-12-04 10:33:58 -08:00
committed by virtuacoplenny
parent 569b3547c8
commit eae9ddabad
+1
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();
});