-
I have a Nats Request/Reply in two apps. On the Reply app on VS debug there is no issue but when I compile and run it in CLI (myapp.exe) I am getting the error below after the first Request/Reply call. What could be the issue?
Another message that I see is sometimes on Request/Reply is |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 27 replies
-
we have some protection against subscriptions that are not properly disposed which involves weak refs / GC etc. Can you post a Program.cs (ideally, or some code) demonstrating the issue? |
Beta Was this translation helpful? Give feedback.
-
I've previously found if you don't await / pin a long running task then it gets GC'd |
Beta Was this translation helpful? Give feedback.
-
Hi @alberk8 https://github.com/nats-io/nats.net.v2/releases/tag/v2.2.3 should fix this issue |
Beta Was this translation helpful? Give feedback.
After a few days, still running.