mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-29 12:06:51 +00:00
Async
This commit is contained in:
1 parent
c475f403ce
commit
0603aa5700
2 files changed
+2
-2
No files matched your search
@@ -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