EventTest

This commit is contained in:
ahmed committed 2026-08-09 21:36:48 +03:00
1 parent 3b55d8d2f8
commit 3e608ef1d1
2 files changed
+59 -1

No files matched your search

+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)