From 1c60bebe80fe14a146f86264000cd54d591a7595 Mon Sep 17 00:00:00 2001 From: "Maarten A. Breddels" Date: Wed, 21 Jun 2023 16:12:36 +0200 Subject: [PATCH] with beacon --- solara/server/static/main-vuetify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solara/server/static/main-vuetify.js b/solara/server/static/main-vuetify.js index b948da964..40ee1607b 100644 --- a/solara/server/static/main-vuetify.js +++ b/solara/server/static/main-vuetify.js @@ -151,7 +151,7 @@ async function solaraInit(mountId, appName) { window.addEventListener('beforeunload', function (e) { unloading = true; kernel.dispose() - // window.navigator.sendBeacon(close_url); + window.navigator.sendBeacon(close_url); }); console.log("solara.browser_platform", solara.browser_platform); if (solara.browser_platform) {