Resolve all high-severity architecture review findings

This commit is contained in:
Joseph Doherty
2026-09-09 16:13:58 -04:00
parent 8bfe65512e
commit 146a13238f
192 changed files with 3160 additions and 753 deletions
@@ -428,6 +428,10 @@ public class InstanceActor : ReceiveActor
/// <inheritdoc />
protected override void PostStop()
{
foreach (var connectionName in _tagsByConnection.Keys)
_dclManager?.Tell(new UnsubscribeTagsRequest(
Guid.NewGuid().ToString("N"), _instanceUniqueName, connectionName, DateTimeOffset.UtcNow), Self);
// Cancel any armed tag-subscribe watchdogs so they cannot fire after stop.
foreach (var state in _tagSubscribeStates.Values)
state.Timer?.Cancel();