EventTest

This commit is contained in:
2026-08-09 21:36:48 +03:00
parent 3b55d8d2f8
commit 3e608ef1d1
2 changed files with 59 additions and 1 deletions
+6 -1
View File
@@ -3755,11 +3755,16 @@ public partial class EpConnection : NetworkConnection, IStore
// or resubscribes events.
_attachedResources.Clear();
// Attachments requested by the peer belong to the socket session, even
// when this endpoint initiated the connection. Keeping them on a
// bidirectional client connection makes the peer's first attachment
// after reconnect fail with AlreadyAttached.
UnsubscribeAll();
if (Server != null)
{
_suspendedResources.Clear();
UnsubscribeAll();
Instance?.Warehouse?.Remove(this);
if (wasAuthenticated)