Merge pull request #825 from libPhipp/RemoveFromGroupAsync
Fix method name in OnDisconnectAsync
This commit is contained in:
commit
34056e0758
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user