We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c6ad5c commit 56f5388Copy full SHA for 56f5388
LiveControlGateway/LifetimeManager/HubLifetimeManager.cs
@@ -162,6 +162,8 @@ public async Task RemoveDeviceConnection(IHubController hubController)
162
163
if(oldControllerLifetime.HubController != hubController) return;
164
165
+ _lifetimes.TryRemove(hubController.Id, out _);
166
+
167
foreach (var websocketController in WebsocketManager.LiveControlUsers.GetConnections(hubController.Id))
168
await websocketController.UpdateConnectedState(false);
169
}
0 commit comments