mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-24 03:50:57 +00:00
EventTest
This commit is contained in:
1 parent
3b55d8d2f8
commit
3e608ef1d1
2 files changed
+59
-1
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user