]
Tristan Tarrant updated ISPN-9627:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Removing a listener after cache manager stop throws an exception
----------------------------------------------------------------
Key: ISPN-9627
URL:
https://issues.jboss.org/browse/ISPN-9627
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.4.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
Fix For: 9.4.1.Final, 10.0.0.Alpha1
{{DefaultCacheManager.removeListener()}} needs the {{CacheManagerNotifier}} component and
fails if the component can't be accessed, e.g. because the manager is stopped. Since
listeners are removed automatically on stop, a {{DefaultCacheManager.removeListener()}}
call after stop should be a no-op.