From 0603aa57001d14236b29ec0a25fd37bc07826d56 Mon Sep 17 00:00:00 2001 From: ahmed Date: Sat, 16 Aug 2025 16:56:51 +0300 Subject: [PATCH] Async --- Esiur/Core/AsyncBag.cs | 2 +- Esiur/Net/IIP/DistributedConnectionProtocol.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Esiur/Core/AsyncBag.cs b/Esiur/Core/AsyncBag.cs index 28a9d1f..c8def4d 100644 --- a/Esiur/Core/AsyncBag.cs +++ b/Esiur/Core/AsyncBag.cs @@ -32,7 +32,7 @@ namespace Esiur.Core; interface IAsyncBag { - public void Add(AsyncReply reply); + public void Add(object replyOrValue); } public class AsyncBag : AsyncReply, IAsyncBag diff --git a/Esiur/Net/IIP/DistributedConnectionProtocol.cs b/Esiur/Net/IIP/DistributedConnectionProtocol.cs index 77340dd..1f6b2cb 100644 --- a/Esiur/Net/IIP/DistributedConnectionProtocol.cs +++ b/Esiur/Net/IIP/DistributedConnectionProtocol.cs @@ -350,7 +350,7 @@ partial class DistributedConnection if (attachedResources[resourceId].TryGetTarget(out r)) { - // remove from attached to avoid sending unnecessary deattach request when Destroy() is called + // remove from attached to avoid sending unnecessary detach request when Destroy() is called attachedResources.Remove(resourceId); r.Destroy(); }