refactor(net): own live session routing

This commit is contained in:
Erik 2026-07-21 11:17:09 +02:00
parent 707e606e35
commit 961bdd07b7
12 changed files with 1645 additions and 543 deletions

View file

@ -61,4 +61,11 @@ public sealed class LiveCommandBus : ICommandBus
$"[LiveCommandBus] no handler registered for {typeof(T).FullName}; dropping.");
}
}
/// <summary>
/// Release every registered handler. Session-scoped owners call this
/// during teardown so a retained bus cannot keep an obsolete transport or
/// host object graph alive.
/// </summary>
public void Clear() => _handlers.Clear();
}