Skip to content

Commit 70da07d

Browse files
committed
Tmp
1 parent cf443bf commit 70da07d

File tree

5 files changed

+5
-16
lines changed

5 files changed

+5
-16
lines changed

src/Components/Shared/src/WebRootComponentManager.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using System.Diagnostics.CodeAnalysis;
55
using System.Globalization;
6-
using System.Numerics;
76
using static Microsoft.AspNetCore.Internal.LinkerFlags;
87

98
#if COMPONENTS_SERVER

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ export class CircuitManager implements DotNet.DotNetCallDispatcher {
267267
}
268268
}
269269

270-
this._options.reconnectionHandler!.onCircuitResumed();
271270
this._options.reconnectionHandler!.onConnectionUp();
272271
this._componentManager.onComponentReload?.();
273272
return true;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ export interface CircuitHandler {
4747
export interface ReconnectionHandler {
4848
onConnectionDown(options: ReconnectionOptions, error?: Error): void;
4949
onConnectionUp(): void;
50-
onCircuitResumed(): void;
5150
}
5251

5352
function computeDefaultRetryInterval(previousAttempts: number, maxRetries?: number): number | null {

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ export class DefaultReconnectionHandler implements ReconnectionHandler {
5151
this._currentReconnectionProcess = null;
5252
}
5353
}
54-
55-
onCircuitResumed(): void {
56-
return;
57-
}
5854
}
5955

6056
class ReconnectionProcess {

src/Components/test/E2ETest/Infrastructure/ServerFixtures/AspNetSiteServerFixture.cs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ public class AspNetSiteServerFixture : WebHostServerFixture
2626

2727
public List<string> AdditionalArguments { get; set; } = new List<string> { "--test-execution-mode", "server" };
2828

29-
public Action<IServiceCollection> ConfigureAdditionalServices { get; set; } = _ => { };
30-
3129
protected override IHost CreateWebHost()
3230
{
3331
if (BuildWebHostMethod == null)
@@ -45,14 +43,12 @@ protected override IHost CreateWebHost()
4543
host = E2ETestOptions.Instance.Sauce.HostName;
4644
}
4745

48-
var arguments = new[]
46+
var result = BuildWebHostMethod(new[]
4947
{
50-
"--urls", $"http://{host}:0",
51-
"--contentroot", sampleSitePath,
52-
"--environment", Environment.ToString(),
53-
};
54-
55-
var result = BuildWebHostMethod([.. arguments, .. AdditionalArguments]);
48+
"--urls", $"http://{host}:0",
49+
"--contentroot", sampleSitePath,
50+
"--environment", Environment.ToString(),
51+
}.Concat(AdditionalArguments).ToArray());
5652

5753
UpdateHostServices?.Invoke(result.Services);
5854

0 commit comments

Comments
 (0)