mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-14 13:07:18 +00:00
fix: handle threading issues for concurrent clients joining
This commit is contained in:
parent
39c1f60a4d
commit
53e7a30224
5 changed files with 60 additions and 17 deletions
|
|
@ -1748,7 +1748,7 @@ namespace PepperDash.Essentials
|
|||
var clientNo = 1;
|
||||
foreach (var clientContext in _directServer.UiClientContexts)
|
||||
{
|
||||
var clients = _directServer.UiClients.Values.Where(c => c.Token == clientContext.Value.Token.Token);
|
||||
var clients = _directServer.UiClients.Values.Where(c => c.TokenKey == clientContext.Key);
|
||||
|
||||
CrestronConsole.ConsoleCommandResponse(
|
||||
$"\r\nClient {clientNo}:\r\n" +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue