mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 08:33:19 +01:00
Nullify ConnectionMappingHub
This commit is contained in:
@@ -6,8 +6,6 @@ using Microsoft.AspNetCore.SignalR;
|
||||
|
||||
using Tgstation.Server.Host.Security;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Tgstation.Server.Host.Utils.SignalR
|
||||
{
|
||||
/// <summary>
|
||||
@@ -52,7 +50,7 @@ namespace Tgstation.Server.Host.Utils.SignalR
|
||||
|
||||
/// <inheritdoc />
|
||||
[AllowAnonymous]
|
||||
public override Task OnDisconnectedAsync(Exception exception)
|
||||
public override Task OnDisconnectedAsync(Exception? exception)
|
||||
{
|
||||
connectionMapper.UserDisconnected(Context.ConnectionId);
|
||||
return base.OnDisconnectedAsync(exception);
|
||||
|
||||
Reference in New Issue
Block a user