mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-09-13 12:43:17 +00:00
Async
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Esiur.Core;
|
||||
|
||||
interface IAsyncBag
|
||||
{
|
||||
public void Add(AsyncReply reply);
|
||||
public void Add(object replyOrValue);
|
||||
}
|
||||
|
||||
public class AsyncBag<T> : AsyncReply, IAsyncBag
|
||||
|
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user