13 references to _activeConnections
Microsoft.DotNet.HotReload.Watch (13)
AbstractBrowserRefreshServer.cs (13)
45
lock (
_activeConnections
)
47
connectionsToDispose = [..
_activeConnections
];
48
_activeConnections
.Clear();
114
lock (
_activeConnections
)
116
_activeConnections
.Add(connection);
182
lock (
_activeConnections
)
184
return [..
_activeConnections
.Where(b => b.ClientSocket.State == WebSocketState.Open)];
192
lock (
_activeConnections
)
195
for (var i = 0; i <
_activeConnections
.Count; i++)
197
var connection =
_activeConnections
[i];
200
_activeConnections
[j++] = connection;
209
_activeConnections
.RemoveRange(j,
_activeConnections
.Count - j);