✅ Implementing IDisposable properly
I have a class I implemented IDisposable in which subscribes to an observable of a type. Example: subscribes to an incoming GenericMessage. I am running into an issue where when an instance of this class should be disposed, it's still alive intercepting data from another class that needs it. Here are my logs for visualization:
As you see my dispose is called but it's still alive. I am using the dispose design pattern as outlined in the IDisposable docs
As you see my dispose is called but it's still alive. I am using the dispose design pattern as outlined in the IDisposable docs