Fix method name in OnDisconnectAsync

This commit is contained in:
libPhipp 2018-10-18 22:31:58 +02:00
parent 1178b83585
commit 5aa855ed9e

View File

@ -19,7 +19,7 @@ namespace Ordering.SignalrHub
public override async Task OnDisconnectedAsync(Exception ex) 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); await base.OnDisconnectedAsync(ex);
} }
} }