refactor(net): own live session routing
This commit is contained in:
parent
707e606e35
commit
961bdd07b7
12 changed files with 1645 additions and 543 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue