diff --git a/signalr/hubs/samples/6.x/SignalRHubsSample/Snippets/Hubs/ChatHub.cs b/signalr/hubs/samples/6.x/SignalRHubsSample/Snippets/Hubs/ChatHub.cs index 92dedb9..d9126d9 100644 --- a/signalr/hubs/samples/6.x/SignalRHubsSample/Snippets/Hubs/ChatHub.cs +++ b/signalr/hubs/samples/6.x/SignalRHubsSample/Snippets/Hubs/ChatHub.cs @@ -15,7 +15,6 @@ public class ChatHub : Hub // public override async Task OnDisconnectedAsync(Exception? exception) { - await Groups.RemoveFromGroupAsync(Context.ConnectionId, "SignalR Users"); await base.OnDisconnectedAsync(exception); } //