feat(network)!: add v2 framing, pooled buffers and bounded dispatch
This commit is contained in:
@@ -163,9 +163,9 @@ namespace ShrinkNetwork
|
||||
{
|
||||
while (!cancellationToken.IsCancellationRequested)
|
||||
{
|
||||
var sessions = _sessions.Values.ToArray();
|
||||
foreach (var session in sessions)
|
||||
foreach (var pair in _sessions)
|
||||
{
|
||||
var session = pair.Value;
|
||||
var shouldDisconnect = false;
|
||||
lock (session.SyncRoot)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user