-
Bug
-
Resolution: Not an issue
-
Major
-
None
-
4.4.4
I have a class listening to the cache module startup event like:
CacheModule.getInstance().register(new CacheModuleLifecycleListener() {
public void onCacheModuleStart()
});
If a cache module reload is triggered (by changing content in the cache config), doStuff() will be called twice, and after again triggering a reload, doStuff() will be called three times.
I could work around this by overriding hashCode() and equals() in my CacheModuleLifecycleListener, but thought this could be fixed anyway.
Will it need a reset of the listeners Map in info.magnolia.module.cache.CacheModule#stop ?
Regards,
Stefan
Acceptance criteria