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(); }