Skip to content

Commit 77d6986

Browse files
committed
Forgot to await UnregisterConnection
1 parent d525549 commit 77d6986

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

LiveControlGateway/Controllers/LiveControlController.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,9 @@ protected override async Task<bool> TryRegisterConnection()
9292
}
9393

9494
/// <inheritdoc />
95-
protected override Task UnregisterConnection()
95+
protected override async Task UnregisterConnection()
9696
{
97-
WebsocketManager.LiveControlUsers.UnregisterConnection(this);
98-
return Task.CompletedTask;
97+
await WebsocketManager.LiveControlUsers.UnregisterConnection(this);
9998
}
10099

101100
/// <summary>

0 commit comments

Comments
 (0)