mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-30 15:13:59 +08:00
fix:signalR razor dispose接口
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
@namespace ThingsGateway.Admin.Blazor
|
||||
@using Microsoft.AspNetCore.SignalR.Client;
|
||||
@using ThingsGateway.Admin.Application;
|
||||
|
||||
@implements IAsyncDisposable;
|
||||
@code {
|
||||
HubConnection _hubConnection;
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
await _hubConnection.DisposeAsync();
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>wwwroot\favicon.ico</ApplicationIcon>
|
||||
<ServerGarbageCollection>false</ServerGarbageCollection>
|
||||
<!--<ServerGarbageCollection>false</ServerGarbageCollection>-->
|
||||
<!--<PlatformTarget>x86</PlatformTarget>-->
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user