Merge pull request #825 from libPhipp/RemoveFromGroupAsync

Fix method name in OnDisconnectAsync
This commit is contained in:
Miguel Veloso 2019-03-05 19:25:45 +00:00 committed by GitHub
commit 34056e0758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ namespace Ordering.SignalrHub
public override async Task OnDisconnectedAsync(Exception ex)
{
await Groups.AddToGroupAsync(Context.ConnectionId, Context.User.Identity.Name);
await Groups.RemoveFromGroupAsync(Context.ConnectionId, Context.User.Identity.Name);
await base.OnDisconnectedAsync(ex);
}
}