Skip to content

Commit 2eb9743

Browse files
Don't show reconnection dialog after error (#50381)
1 parent e4b318b commit 2eb9743

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Components/Web.JS/src/Platform/Circuits/CircuitManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class CircuitManager implements DotNet.DotNetCallDispatcher {
133133

134134
connection.on('JS.EndLocationChanging', Blazor._internal.navigationManager.endLocationChanging);
135135

136-
connection.onclose(error => !this._disposed && this._options.reconnectionHandler!.onConnectionDown(this._options.reconnectionOptions, error));
136+
connection.onclose(error => !this._disposed && !this._renderingFailed && this._options.reconnectionHandler!.onConnectionDown(this._options.reconnectionOptions, error));
137137
connection.on('JS.Error', error => {
138138
this._renderingFailed = true;
139139
this.unhandledError(error);

0 commit comments

Comments
 (0)