We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d5d6f2 commit 2ea00a6Copy full SHA for 2ea00a6
share/jupyter/voila/templates/default/static/main.js
@@ -40,7 +40,9 @@ require(['static/voila'], function(voila) {
40
async function init() {
41
// it seems if we attach this to early, it will not be called
42
window.addEventListener('beforeunload', function (e) {
43
- kernel.shutdown();
+ const xhttp = new XMLHttpRequest();
44
+ xhttp.open("DELETE", `/api/kernels/${kernel.id}`, false);
45
+ xhttp.send();
46
kernel.dispose();
47
});
48
await widgetManager.build_widgets();
0 commit comments