[
https://issues.jboss.org/browse/ISPN-9627?page=com.atlassian.jira.plugin....
]
Paul Ferraro commented on ISPN-9627:
------------------------------------
I understand the reasoning - I only pointed this out as an issue of compatibility. Note
that previously, listener registration was also allowed prior to starting the cache
manager.
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.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)