Here is my situation:
- I instantiate a RedisPubSubServer and configure it with OnInit, OnStart, and OnStop callbacks.
- I keep this reference as long as the application lives and, in the end, I dispose it.
Somehow, during the application life cycle, I noticed that the OnStart/OnStop callbacks are called without any explicit disposing of the RedisPubSubServer, and I suspect that something goes wrong with the connection, but I cannot figure why.
Is there any way of identifying the problem? Or am I am not understanding it right how it works?