cache-manager
cache-manager copied to clipboard
Should the Cacheable's sync (CacheableSync) be disconnected when disconnecting a cacheable instance?
I noticed that the Cacheable's disconnect method does not close or disconnect the messageProvider configured by the sync. Is there a way to make Cacheable also disconnect or close it when disconnecting, or do I need to handle that myself?
@lyhongnhat - good catch and yes we should handle it there also. I will get a pull request going for this today
https://github.com/jaredwray/cacheable/pull/1442
this should be live in a couple weeks