Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

hristoterezoveae9ddabad7a
diff --git a/react/index.web.js b/react/index.web.js
index c3c6130a96..a8726e03e4 100644
--- a/react/index.web.js
+++ b/react/index.web.js
@@ -32,6 +32,7 @@ window.addEventListener('beforeunload', () => {
APP.logCollector.stop();
APP.logCollectorStarted = false;
}
+ APP.API.notifyConferenceLeft(APP.conference.roomName);
APP.API.dispose();
getJitsiMeetTransport().dispose();
});