From eae9ddabad7a6b65fe6bcfff811f9284aea37a91 Mon Sep 17 00:00:00 2001 From: hristoterezov Date: Mon, 4 Dec 2017 12:33:58 -0600 Subject: [PATCH] fix(external_api): fire videoConferenceLeft event on unload (#2243) --- react/index.web.js | 1 + 1 file changed, 1 insertion(+) diff --git a/react/index.web.js b/react/index.web.js index c3c6130a9..a8726e03e 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(); });