Skip to content

Commit 059f0e3

Browse files
committed
Disconnect circuit on event
1 parent 7e6b5d5 commit 059f0e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Components/Web.JS/dist/Release/blazor.server.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Components/Web.JS/src/Boot.Server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function boot(userOptions?: Partial<CircuitStartOptions>): Promise<void> {
5757
};
5858

5959
window.addEventListener(
60-
'unload',
60+
'beforeunload',
6161
() => {
6262
const data = new FormData();
6363
const circuitId = circuit.circuitId!;

0 commit comments

Comments
 (0)