]
Dan Berindei updated ISPN-9627:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
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
{{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.